public ActionResult DeleteConfirmed(int id) { _db.Delete(id); return(RedirectToAction("Index")); }
public IActionResult Delete(int id) { _postData.Delete(id); return(RedirectToAction("Index", "Home")); }
public bool AdminDelete(int id) { return(source.Delete(id)); }