angeliklev / alis-ef-code-1st

3 stars 0 forks source link

What should I move to area? #51

Closed Porleng closed 11 years ago

Porleng commented 11 years ago

I just moved my controller and view to area.

Should I move ViewModel, Repository, Validation, Model, Context, and Model as well?

Is there anything else?

angeliklev commented 11 years ago

You should move only files which you would use only in your area. Say, everything responsible for loans. But domain models (which are in Models folder) and repositories (DAL folder) should stay all on the root. I'd say, you move Controller, Views and ViewModels.

Porleng commented 11 years ago

Ok all three in Areas/LMS now.