Exemple #1
0
 public ReportsController(IReportsServices reportsServices, ILogger fileLogger)
 {
     _reportsServices = reportsServices;
     _fileLogger      = fileLogger;
     _fileLogger      = new FileLogger()
     {
         ErrorLogFilePath = System.Web.HttpContext.Current.Server.MapPath("\\logs\\")
     };
 }
 public AttendancyEntireYearController()
 {
     _attendanceDailyServices = new AttendanceDailyService();
     _departmentServices      = new DepartmentService();
     _designationServices     = new DesignationService();
     _groupServices           = new GroupService();
     _officeServices          = new OfficeServices();
     _employeeServices        = new EmployeeService();
     _notifications           = new NotificationService();
     _reportServices          = new ReportsServices();
     _fiscalService           = new FiscalService();
 }
Exemple #3
0
 public AttendanceReportController()
 {
     _attendanceDailyServices = new AttendanceDailyService();
     _departmentServices      = new DepartmentService();
     _designationServices     = new DesignationService();
     _groupServices           = new GroupService();
     _officeServices          = new OfficeServices();
     _moduleService           = new ModuleService();
     _employeeServices        = new EmployeeService();
     _notifications           = new NotificationService();
     _reportServices          = new ReportsServices();
 }
 public LeaveController()
 {
     _leaveServices          = new LeaveApplicationService();
     _moduleService          = new ModuleService();
     _employeeServices       = new EmployeeService();
     _notifications          = new NotificationService();
     _officeServices         = new OfficeServices();
     _reportServices         = new ReportsServices();
     _leaveRuleService       = new LeaveRuleService();
     _leaveRuleDetailService = new LeaveRuleDetailService();
     _leaveTypeService       = new LeaveTypeService();
     _leaveAssigned          = new LeaveAssignServices();
     _leaveEarnedService     = new LeaveEarnedService();
 }