public ActionResult DeleteConfirmed(int id) { SiteUser SiteUser = SiteUserManager.Find(x => x.Id == id); SiteUserManager.Delete(SiteUser); return(RedirectToAction("Index")); }
public ActionResult DeleteConfirmed(int id) { SiteUser SiteUser = SiteUserManager.Find(x => x.Id == id); SiteUserManager.Delete(SiteUser); return(RedirectToAction("Index")); }