Exemplo n.º 1
0
 public IActionResult BookDelete(int id)
 {
     _books.Delete(id);
     return(RedirectToAction("Books"));
 }
Exemplo n.º 2
0
 public IActionResult Delete(int id)
 {
     _employees.Delete(id);
     return(RedirectToAction("Employees"));
 }