private Edit ( string id = null ) : System.Web.Mvc.ActionResult | ||
id | string | |
return | System.Web.Mvc.ActionResult |
public ActionResult Edit(string id = null)
{
Account account = db.Accounts.Find(id);
if (account == null)
{
return HttpNotFound();
}
return View(account);
}
AccountController::Edit ( |