Exemplo n.º 1
0
 public ActionResult Delete(int id, Employee emp)
 {
     _context.DeleteEmp(id);
     _context.Save();
     return(RedirectToAction("Index"));
 }