Beispiel #1
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         results = dao.GetAllPositions();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         employees = dao.GetEmployees();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #3
0
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         results = dao.GetTimesheetsByEmployee(year);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         result = dao.DeleteEmployee(employeeToDelete);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public override void Execute()
 {
     try
     {
         DAOHumanResourcesManagement dao = new DAOHumanResourcesManagement();
         result = dao.RemoveUnitOverseer(unitToModify);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #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;
     }
 }