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