Business Logic Layer in MVC Application
Posted
by
Subin Jacob
on Programmers
See other posts from Programmers
or by Subin Jacob
Published on 2013-11-08T09:27:52Z
Indexed on
2013/11/08
10:18 UTC
Read the original article
Hit count: 362
In my ASP MVC application I decided to add another Business Layer and made the model only to have properties.
All other functionality like save to db, get from db is done on this new Business layer. So now the controller will be calling this business layer and model for various operations. Is it a good approach to design like this?
I decided not to use model for this purpose because I would need a number of models for different actions. (for eg, one for edit and other for create)
© Programmers or respective owner