Пример #1
0
 public ESSPLeaveAppController(ILeaveApplicationService leaveapplicationService, IEntityService <LeaveApplication> empleaveapplicationService, IEntityService <VAT_LeaveApplication> vATESSPLeaveApplication,
                               IDDService dDService, ILeavesESSPService eSSPLeaveService, IEntityService <VAT_LeaveApplication> vATLeaveApplicationService, IEntityService <DailyAttendance> dailyAttendanceService
                               , IEntityService <VAT_LeaveApplicationFlow> leaveApplicationFlowService, IEntityService <PayrollPeriod> payrollPeriodService, IEntityService <Shift> shiftService)
 {
     ESSPLeaveService            = eSSPLeaveService;
     DDService                   = dDService;
     LeaveApplicationService     = leaveapplicationService;
     VATLeaveApplicationService  = vATLeaveApplicationService;
     DailyAttendanceService      = dailyAttendanceService;
     LeaveApplicationFlowService = leaveApplicationFlowService;
     PayrollPeriodService        = payrollPeriodService;
     ShiftService                = shiftService;
 }
Пример #2
0
        public LeaveYearlyReportController()
        {
            _leaveServices    = new LeaveApplicationService();
            _moduleService    = new ModuleService();
            _employeeServices = new EmployeeService();
            _notifications    = new NotificationService();
            _officeServices   = new OfficeServices();

            _leaveRuleService       = new LeaveRuleService();
            _leaveRuleDetailService = new LeaveRuleDetailService();
            _leaveTypeService       = new LeaveTypeService();
            _leaveAssigned          = new LeaveAssignServices();
            _leaveEarnedService     = new LeaveEarnedService();
        }
Пример #3
0
 public LeavesESSPService(IUnitOfWork unitOfWork, IDDService dDService, IRepository <VAT_LeaveApplication> vEPESSPLeaveApplicationReporsitory,
                          IRepository <LeaveApplicationFlow> leaveApplicationFlow, IRepository <LeaveData> leaveDataRepo,
                          IRepository <LeaveApplication> jobESSPLeaveRepository, IRepository <VAT_LeaveApplicationFlow> vatLeaveApplicationFlowReporsitory,
                          ILeaveApplicationService leaveApplicationService, IEntityService <PayrollPeriod> payrollPeriodService)
 {
     UnitOfWork = unitOfWork;
     DDService  = dDService;
     LeaveApplicationRepository         = jobESSPLeaveRepository;
     LeaveApplicationFlow               = leaveApplicationFlow;
     PayrollPeriodService               = payrollPeriodService;
     LeaveApplicationService            = leaveApplicationService;
     VEPESSPLeaveApplicationReporsitory = vEPESSPLeaveApplicationReporsitory;
     LeaveDataRepo = leaveDataRepo;
     VATLeaveApplicationFlowReporsitory = vatLeaveApplicationFlowReporsitory;
 }
Пример #4
0
 public UserController()
 {
     _moduleService           = new ModuleService();
     _leaveApplicationService = new LeaveApplicationService();
     _empService = new EmployeeService();
     _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 LeaveApplicationController(ILeaveApplicationService leaveapplicationService, IEntityService <DeviceData> deviceDataService, IDDService dDService,
                                   IEntityService <VAT_LeaveApplication> vATLeaveApplicationService, IEntityService <DailyAttendance> dailyAttendanceService
                                   , IEntityService <VAT_JobCardApplication> jobcardAppService, IEntityService <VHR_UserEmployee> vHR_UserEmployeeService
                                   , IEntityService <PayrollPeriod> payrollPeriodService, IEntityService <Holiday> holidayService, IEntityService <Shift> shiftService)
 {
     LeaveApplicationService = leaveapplicationService;
     HolidayService          = holidayService;
     ShiftService            = shiftService;
     DDService = dDService;
     VATLeaveApplicationService = vATLeaveApplicationService;
     DailyAttendanceService     = dailyAttendanceService;
     JobcardAppService          = jobcardAppService;
     VHR_UserEmployeeService    = vHR_UserEmployeeService;
     PayrollPeriodService       = payrollPeriodService;
 }
Пример #6
0
 public LeaveController(ILogger <LeaveController> logger, ILeaveApplicationService leaveApplicationService)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _leaveApplicationService = leaveApplicationService ?? throw new ArgumentNullException(nameof(leaveApplicationService));
 }
Пример #7
0
 public LeaveApplicationController(ApplicationDbContext context, ILeaveApplicationService leaveApplicationService)
 {
     _context = context;
     _leaveApplicationService = leaveApplicationService;
 }
Пример #8
0
 public LeaveMonthlyProcessController()
 {
     _leaveServices = new LeaveApplicationService();
 }
Пример #9
0
 public LeaveApiController(ILeaveApplicationService leaveApplicationService, ILogger <LeaveApiController> logger)
 {
     _logger = logger;
     _leaveApplicationService = leaveApplicationService;
 }
Пример #10
0
 public LeaveApplicationController()
 {
     _LeaveAppService = new LeaveApplicationService();
 }
Пример #11
0
 public LeaveController(ILogger logger, WebProjectDbContext webProjectDbContext, ILeaveApplicationService leaveApplicationService)
 {
     this._logger  = logger;
     this._context = webProjectDbContext;
     this._leaveApplicationService = leaveApplicationService;
 }