sharparchitecture / Sharp-Architecture

S#arp Architecture: ASP.NET MVC Best Practices with NHibernate
http://sharparchitecture.github.io/
Other
593 stars 153 forks source link

Remove ProductModel tasks from Cookbook #84

Closed seif closed 6 years ago

seif commented 11 years ago

The class ProductModelTasks and IProductModelTasks in the cookbook just passes calls into the repository and returns entities.

Dont see the point of doing this, if what we want to show is simply binding for a CRUD app, then we should just use the Repository in the controller directly.

sandord commented 11 years ago

It might be wise to leave a remark that recommends delegating repository access to tasks as soon as the application (the audience is building based on the example) grows.

cd21h commented 8 years ago

Also migrate project to the Samples folder.