samedi 8 août 2020

ASP WebApi : Service layer, business layer and data access layer

If I need to write a simple webapi which need to get/create/update/delete of the products. Is this really need a business layer.

I am using Entity Framework which I understand this is similar to Repository Pattern.

If my webapi application is very simple which not much complex business logic e.g. bank reconciliation etc

Do i really need to have a business logic layer? Can i just have a service layer which create products / remove the products etc..

Aucun commentaire:

Enregistrer un commentaire