public EmployeeAttendanceController()
 {
     _employeeService            = new RexERP_MVC.BAL.EmployeeService();
     _titleInfoService           = new TitleInfoService(new TitleInfoRepository(), new TitleInfoValidator());
     _employeeAttendanceService  = new EmployeeAttendanceService(new EmployeeAttendanceRepository(), new EmployeeAttendanceValidator());
     _branchOfficeService        = new BranchOfficeService(new BranchOfficeRepository(), new BranchOfficeValidator());
     _employeeWorkingTimeService = new EmployeeWorkingTimeService(new EmployeeWorkingTimeRepository(), new EmployeeWorkingTimeValidator());
 }
Example #2
0
 public EmployeeAttendance UpdateObject(EmployeeAttendance employeeAttendance, EmployeeService _employeeService)
 {
     _repository.UpdateObject(employeeAttendance);
     return(employeeAttendance);
 }