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 MauHopDongLaoDongController(IMauHopDongRepository mauHopDongRepository,
                                    ILoaiHopDongRepository loaiHopDongRepository,
                                    IWebHostEnvironment webHostEnvironment,
                                    UserManager <Employee> userManager,
                                    IMapper mapper)
 {
     _mauHopDongRepository      = mauHopDongRepository;
     this.loaiHopDongRepository = loaiHopDongRepository;
     this.webHostEnvironment    = webHostEnvironment;
     this.userManager           = userManager;
     _mapper = mapper;
 }
Example #3
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;
        }