Hello,
I have a Asp.net webforms project and I have to consume an external REST API to send our data.
I have two layers in my project, Presentation layer and service layer (like DAL - it has all my WCF services).
Currently, there is a existing screen with save method which saves data to the application database. If the transaction is successful, then I have to post the same data to External API.
So the question are
1. In which layer(Presentation or Service) I need to implement the WEB API call?
2. Should I create any Web API controller to consume the Rest API.
Thanks.
Viswanatha SwamyPosted Mar 25, 2020, 12:01 AM
Rajesh GPosted Mar 24, 2020, 2:56 PM
Jignesh KumarPosted Mar 24, 2020, 12:19 AM
Viswanatha SwamyPosted Mar 23, 2020, 11:38 PM