BookStore.Controllers.AccountController.Delete C# (CSharp) Method

Delete() public method

public Delete ( int id ) : ActionResult
id int
return ActionResult
        public ActionResult Delete(int id = 0)
        {
            UserProfile user = db.UserProfiles.Find(id);
            if (user == null)
            {
                return HttpNotFound();
            }
            return View(user);
        }