Reputation: 2341
We have graphic/interface designer who is developing html/css for our websites. How can I let him work on cshtml and css files without giving him access to controllers and models? Greetings
Upvotes: 0
Views: 408
Reputation:
Why not separate the Controller and Models into separate Class Library projects, referenced by the MVC project? That way, you can expose the MVC project, including the views, styles and scripts, but keep the infrastructure private.
So long as you keep the naming convention correct, you shouldn't have any issue with controllers being separate.
Upvotes: 2