In .net core To create a API solution with swagger to create API which will have GET, POST, UPDATE, DELETE in a single API You can you any approach either from query or from DB context approach There cannot be multiple API it as to one API for all the four types. {payment/get/post/put/delete} sticker