Ejemplo n.º 1
0
 public ActionResult Delete(int id, Cargo servico)
 {
     try
     {
         var cargoDAO = new CargoDAO();
         cargoDAO.DeleteCargo(id);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }