So I am new to MVC and have read about a couple dozen of similar questions on SO and some blogs. I can't understnd how to structure my application. Either I'm not getting it or people seem to have different opinions on how to do it. So here is my specific, simple example: login screen and account create screen.
From my understanding I should have the following:
view Simple in this case two views
model Two view models. Login has username and password. Register has username, password, email, etc. Only properties no methods.
controller Builds view model by calling service layer like CreateUser()
business/service Separate project. Has methods to interact with database and apply business logic. Called by controller which massages output into view model format. This project has its own models/classes not tied to a specific view. CreateUser() in this layer would call the stored procedure on the db
Is that the correct flow? And also when returning data from the business layer I shouldn't use the view models. So do I create another set of models on the business side that resemble the logical entities in the db?