ASP.NET MVC: Do I really have to create one view per action?
Posted
by Neil Barnwell
on Stack Overflow
See other posts from Stack Overflow
or by Neil Barnwell
Published on 2010-06-01T23:32:53Z
Indexed on
2010/06/01
23:43 UTC
Read the original article
Hit count: 208
If I have a fairly crud-based area of my app, do I really have to create separate "Create" and "Edit" views? The HTML will be practically the same. I want an "Edit" and "Create" action to both render a "Show.aspx" view, but certainly Resharper 5 is complaining about there being no "Show" action.
What's the best practice?
© Stack Overflow or respective owner