예제 #1
0
 public ActionResult DeleteConfirmed(int id)
 {
     _db.Delete(id);
     return(RedirectToAction("Index"));
 }
예제 #2
0
 public IActionResult Delete(int id)
 {
     _postData.Delete(id);
     return(RedirectToAction("Index", "Home"));
 }
예제 #3
0
 public bool AdminDelete(int id)
 {
     return(source.Delete(id));
 }