Esempio n. 1
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         results = dao.GetAllPositions();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         employees = dao.GetEmployees();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 3
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         results = dao.GetTimesheetsByEmployee(year);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 4
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         result = dao.DeleteEmployee(employeeToDelete);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 5
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         result = dao.RemoveUnitOverseer(unitToModify);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 6
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         results = dao.GetTimesheetsReport(initDate, endDate, report);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         result = dao.UpdateEmployeePositionUnit(employeeToModify);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }