コード例 #1
0
        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;
        }
コード例 #2
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;
        }