hi,
I want to create a C# API for ASP.NET Application. How to Create the API in C# for Storing and retrieving the data in sql.
Am in confusion of how to define the API, whether I have to define separate class for connection of sql, and insert I have to define a separate class likewise for update and delete or we can define all the functionality in single class. Can anyone guide me in right in which which way I have to go.
What is the best way for building Database API.