BookManagement.Web.Controllers.AccountController.Delete C# (CSharp) Method

Delete() private method

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