public override void Execute() { try { DAOTimesheet dao = new DAOTimesheet(); result = dao.DeleteWorkload(workloadToDelete); } catch (Exception ex) { throw ex; } }
public override void Execute() { try { DAOTimesheet dao = new DAOTimesheet(); result = dao.AddWorkloadToTimesheet(workloadToInsert); } catch (Exception ex) { throw ex; } }
public override void Execute() { try { DAOTimesheet dao = new DAOTimesheet(); result = dao.GetAllWorkloadsByTimesheet(timesheet); } catch (Exception ex) { throw ex; } }
public override void Execute() { try { DAOTimesheet dao = new DAOTimesheet(); results = dao.GetAllACPPerOU(unit); } catch (Exception ex) { throw ex; } }
public override void Execute() { try { DAOTimesheet dao = new DAOTimesheet(); result = dao.UpdateTimesheetStatus(timesheetToUpdate); } catch (Exception ex) { throw ex; } }
public override void Execute() { try { DAOTimesheet dao = new DAOTimesheet(); results = dao.GetTimesheetsByEmployee(employee); } catch (Exception ex) { throw ex; } }