Please share the detail about Asp.Net Core Web API project workflow
- Added Controller and Models
- Model class has properties
- Controller has POST method
In POST call,I am doing some validation from Request data and assigned values to model properties.
Now , Where to create the method for processing further task by using model properties.
Shall I create another class file inside Models Folder or Create new directory and place the class file and write the methods ?
Also, How to call above methods from Controller POST method?
Aucun commentaire:
Enregistrer un commentaire