How do I implement CRUD access with actions using the same view?
class UserController : Controller
{
[ActionName("User")]
[HttpGet]
public ActionResult GetUser() {/* ... */}
[ActionName("User")]
[HttpPost]
public ActionResult PostUser() {/* ... */}
}
I would like both actions to use the same view.
Is there an attribute to specify what view to use?