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.