public HopDongLaoDongController(ILeaveTypeRepository leaverepo,
                                        ILeaveAllocationRepository leaveallocationrepo,
                                        IMapper mapper,
                                        UserManager <Employee> userManager,
                                        IChucVuRepository chucVuRepo,
                                        IChuyenMonRepository chuyenMonRepo,
                                        IPhongBanRepository phongBanRepo,
                                        IRoleRepository roleRepository,
                                        IWebHostEnvironment hostEnvironment,
                                        IUserRoleRepository userRoleRepository,
                                        IMauHopDongRepository mauHopDongRepository,
                                        IHopDongLaoDongRepository hopDongLaoDongRepository)
        {
            this.leaverepo           = leaverepo;
            this.leaveallocationrepo = leaveallocationrepo;
            this.mapper      = mapper;
            this.userManager = userManager;

            this.chucVuRepo               = chucVuRepo;
            this.chuyenMonRepo            = chuyenMonRepo;
            phongBanRep                   = phongBanRepo;
            this.roleRepository           = roleRepository;
            webHostEnvironment            = hostEnvironment;
            this.userRoleRepository       = userRoleRepository;
            this.mauHopDongRepository     = mauHopDongRepository;
            this.hopDongLaoDongRepository = hopDongLaoDongRepository;
        }
        public XuatLuongCuoiThangController(ILeaveTypeRepository leaverepo,
                                            ILeaveAllocationRepository leaveallocationrepo,
                                            IMapper mapper,
                                            UserManager <Employee> userManager,
                                            IChucVuRepository chucVuRepo,
                                            IChuyenMonRepository chuyenMonRepo,
                                            IPhongBanRepository phongBanRepo,
                                            IRoleRepository roleRepository,
                                            IWebHostEnvironment hostEnvironment,
                                            IUserRoleRepository userRoleRepository,
                                            INhatKylamViecRepository nhatKylamViecRepository,
                                            IPhieuChi_LuongCuoiThangRepository phieuChi_LuongCuoiThangRepository,
                                            IPhieuChi_NKLVRepository phieuChi_NKLVRepository
                                            )
        {
            this.leaverepo           = leaverepo;
            this.leaveallocationrepo = leaveallocationrepo;
            this.mapper      = mapper;
            this.userManager = userManager;

            this.chucVuRepo                        = chucVuRepo;
            this.chuyenMonRepo                     = chuyenMonRepo;
            this.roleRepository                    = roleRepository;
            webHostEnvironment                     = hostEnvironment;
            this.userRoleRepository                = userRoleRepository;
            this.nhatKylamViecRepository           = nhatKylamViecRepository;
            this.phieuChi_LuongCuoiThangRepository = phieuChi_LuongCuoiThangRepository;
            this.phieuChi_NKLVRepository           = phieuChi_NKLVRepository;
            this.phongBanRepo                      = phongBanRepo;
        }
Example #3
0
        public LeaveAllocationController(ILeaveTypeRepository leaverepo,
                                         ILeaveAllocationRepository leaveallocationrepo,
                                         IMapper mapper,
                                         UserManager <Employee> userManager,
                                         IChucVuRepository chucVuRepo,
                                         IChuyenMonRepository chuyenMonRepo,
                                         IPhongBanRepository phongBanRepo)
        {
            _leaverepo           = leaverepo;
            _leaveallocationrepo = leaveallocationrepo;
            _mapper      = mapper;
            _userManager = userManager;

            _chucVuRepo    = chucVuRepo;
            _chuyenMonRepo = chuyenMonRepo;
            _phongBanRep   = phongBanRepo;
        }
Example #4
0
        public ChamCongController(ILeaveTypeRepository leaverepo,
                                  ILeaveAllocationRepository leaveallocationrepo,
                                  IMapper mapper,
                                  UserManager <Employee> userManager,
                                  IChucVuRepository chucVuRepo,
                                  IChuyenMonRepository chuyenMonRepo,
                                  IPhongBanRepository phongBanRepo,
                                  IRoleRepository roleRepository,
                                  IWebHostEnvironment hostEnvironment,
                                  IUserRoleRepository userRoleRepository,
                                  IMauHopDongRepository mauHopDongRepository,
                                  IHopDongLaoDongRepository hopDongLaoDongRepository,
                                  INhatKylamViecRepository nhatKylamViecRepository,
                                  ILoaiLichBieuRepository loaiLichBieuRepository,
                                  ILeaveAllocationRepository leaveAllocationRepository,
                                  ILeaveRequestRepository leaveRequestRepository,
                                  ILeaveTypeRepository leaveTypeRepository,
                                  IPhongBanRepository phongBanRepository,
                                  IPhieuChi_NKLVRepository phieuChi_NKLVRepository)
        {
            this.leaverepo           = leaverepo;
            this.leaveallocationrepo = leaveallocationrepo;
            this.mapper      = mapper;
            this.userManager = userManager;

            this.chucVuRepo                = chucVuRepo;
            this.chuyenMonRepo             = chuyenMonRepo;
            this.phongBanRepo              = phongBanRepo;
            this.roleRepository            = roleRepository;
            webHostEnvironment             = hostEnvironment;
            this.userRoleRepository        = userRoleRepository;
            this.mauHopDongRepository      = mauHopDongRepository;
            this.hopDongLaoDongRepository  = hopDongLaoDongRepository;
            this.nhatKylamViecRepository   = nhatKylamViecRepository;
            this.loaiLichBieuRepository    = loaiLichBieuRepository;
            this.leaveAllocationRepository = leaveAllocationRepository;
            this.leaveRequestRepository    = leaveRequestRepository;
            this.leaveTypeRepository       = leaveTypeRepository;
            this.phongBanRepository        = phongBanRepository;
            this.phieuChi_NKLVRepository   = phieuChi_NKLVRepository;
        }
        public EmployeeController(ILeaveTypeRepository leaverepo,
                                  ILeaveAllocationRepository leaveallocationrepo,
                                  IMapper mapper,
                                  UserManager <Employee> userManager,
                                  IChucVuRepository chucVuRepo,
                                  IChuyenMonRepository chuyenMonRepo,
                                  IPhongBanRepository phongBanRepo,
                                  IRoleRepository roleRepository,
                                  IWebHostEnvironment hostEnvironment,
                                  IUserRoleRepository userRoleRepository)
        {
            _leaverepo           = leaverepo;
            _leaveallocationrepo = leaveallocationrepo;
            _mapper      = mapper;
            _userManager = userManager;

            _chucVuRepo             = chucVuRepo;
            _chuyenMonRepo          = chuyenMonRepo;
            _phongBanRep            = phongBanRepo;
            _roleRepository         = roleRepository;
            webHostEnvironment      = hostEnvironment;
            this.userRoleRepository = userRoleRepository;
        }