Exemplo n.º 1
0
 public ActionResult EditEmployees(int id, Employees empl)
 {
     try
     {
         if (employeesDAO.EditEmployees(id, empl))
         {
             return(RedirectToAction("IndexH"));
         }
         else
         {
             return(View("EditEmployees"));
         }
     }
     catch
     {
         return(View("EditEmployees"));
     }
 }