Example #1
0
 public LeaveAllocationsController(ILeaveTypeRepository typerepo, ILeaveAllocationRepository repo, UserManager <IdentityUser> userManager, IMapper mapper)
 {
     _typeRepo    = typerepo;
     _repo        = repo;
     _userManager = userManager;
     _mapper      = mapper;
 }
Example #2
0
 public LeaveAllocationController(ILeaveTypeRepository repoLeaveType, ILeaveAllocationRepository repoLeaveAllocation, IMapper mapper, UserManager <IdentityUser> userManager)
 {
     _repoLeaveAllocation = repoLeaveAllocation;
     _repoLeaveType       = repoLeaveType;
     _mapper      = mapper;
     _userManager = userManager;
 }
Example #3
0
 public LeaveAllocationController(ILeaveAllocationRepository repoleaveAllocation, ILeaveTypeRepository repoleaveTypes, IMapper mapper, UserManager <Employee> userManager)
 {
     _repoleaveAllocation = repoleaveAllocation;
     _repoleaveTypes      = repoleaveTypes;
     _mapper      = mapper;
     _userManager = userManager;
 }
Example #4
0
 public LeaveTypesController(ILeaveTypeRepository repo, ILeaveAllocationRepository AlloRepo, ILeaveRequestRepository requestRepo, IMapper mapper)
 {
     _repo        = repo;
     _AlloRepo    = AlloRepo;
     _requestRepo = requestRepo;
     _mapper      = mapper;
 }
        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;
        }
        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;
        }
Example #7
0
 public LeaveAllocationController(ILeaveTypeRepository leaverepo, ILeaveAllocationRepository leaveallocationrepo, IMapper mapper, UserManager <Employee> userManager)
 {
     this._leaverepo           = leaverepo;
     this._leaveallocationrepo = leaveallocationrepo;
     this._mapper      = mapper;
     this._userManager = userManager;
 }
 public LeaveAllocationController(ILeaveTypeRepository leaverepo, ILeaveAllocationRepository allocationrepo, IMapper mapper, UserManager <IdentityUser> userManager)
 {
     _leaverepo     = leaverepo;
     _allocaionrepo = allocationrepo;
     _mapper        = mapper;
     _userManager   = userManager;
 }
 public LeaveAllocationController(ILeaveTypeRepository leaveRepo, ILeaveAllocationRepository leaveAllocationRepo, IMapper mapper, UserManager <Employee> userManager)
 {
     _leaveRepo           = leaveRepo;
     _leaveAllocationRepo = leaveAllocationRepo;
     _mapper      = mapper;
     _userManager = userManager;
 }
 public LeaveRequestController(ILeaveAllocationRepository repoleaveallocation, ILeaveTypeRepository repoleavetype, ILeaveRequestRepository repoleaverequest, IMapper mapper, UserManager <Employee> userManager)
 {
     _repoleaverequest    = repoleaverequest;
     _repoleavetype       = repoleavetype;
     _repoleaveallocation = repoleaveallocation;
     _mapper      = mapper;
     _userManager = userManager;
 }
Example #11
0
 public LeaveRequestController(UserManager <Employee> userManager, ILeaveAllocationRepository leavaAllocRepo, ILeaveTypeRepository leaveTypeRepo, ILeaveRequestRepository repo, IMapper mapper)
 {
     _leaveRequestrepo = repo;
     _leaveTypeRepo    = leaveTypeRepo;
     _leavaAllocRepo   = leavaAllocRepo;
     _mapper           = mapper;
     _userManager      = userManager;
 }
Example #12
0
 public LeaveRequestController(ILeaveRequestRepository requestRepo, ILeaveTypeRepository typeRepo, ILeaveAllocationRepository allocationRepo, IMapper mapper, UserManager <Employee> userManager)
 {
     _requestRepo    = requestRepo;
     _typeRepo       = typeRepo;
     _allocationRepo = allocationRepo;
     _mapper         = mapper;
     _userManager    = userManager;
 }
 public LeaveAllocationController(ILeaveTypeRepository leaverepo, ILeaveAllocationRepository leaveallocationrepo, UserManager <Employee> userManager, IMapper mapper, IUnitOfWork unitOfWork)
 {
     _leaveallocationrepo = leaveallocationrepo;
     _leaverepo           = leaverepo;
     _userManager         = userManager;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
 }
 public LeaveRequestController(ILeaveRequestRepository leaverequestrepo, ILeaveAllocationRepository leaveallocationrepo, ILeaveTypeRepository leavetyperepo, IMapper mapper, UserManager <Employee> userManager)
 {
     _leaveRequestrepo   = leaverequestrepo;
     _leavTyperepo       = leavetyperepo;
     _leavAllocationrepo = leaveallocationrepo;
     _mapper             = mapper;
     _userManager        = userManager;
 }
Example #15
0
 public LeaveAllocationController(IMapper mapper,
                                  ILeaveTypeRepository leaveTypeRepo,
                                  ILeaveAllocationRepository leaveAllocationRepo)
 {
     Mapper              = mapper;
     LeaveTypeRepo       = leaveTypeRepo;
     LeaveAllocationRepo = leaveAllocationRepo;
 }
 public LeaveAllocationController(ILeaveAllocationRepository repository,
                                  ILeaveTypeRepository leaveTypeRepository,
                                  IMapper mapper, UserManager <IdentityUser> userManager)
 {
     _repository          = repository;
     _leaveTypeRepository = leaveTypeRepository;
     _mapper      = mapper;
     _userManager = userManager;
 }
Example #17
0
 public LeaveRequestController(ILeaveRequestRepository leaveRequestRepository, IMapper mapper, UserManager <Employee> userManager,
                               ILeaveTypeRepository leaveTypeRepository, ILeaveAllocationRepository leaveAllocationRepository)
 {
     _leaveRequestRepository = leaveRequestRepository;
     _mapper                    = mapper;
     _userManager               = userManager;
     _leaveTypeRepository       = leaveTypeRepository;
     _leaveAllocationRepository = leaveAllocationRepository;
 }
Example #18
0
 public LeaveRequestController(ILeaveTypeRepository leaveTypeRepo, ILeaveAllocationRepository leaveAllocationRepo, ILeaveRequestRepository leaveRequestRepo, UserManager <Employee> userManager, IMapper mapper, IUnitOfWork unitOfWork, IEmailSender emailSender)
 {
     //_leaveTypeRepo = leaveTypeRepo;
     //_leaveRequestRepo = leaveRequestRepo;
     _userManager = userManager;
     _mapper      = mapper;
     //_leaveAllocationRepo = leaveAllocationRepo;
     _unitOfWork  = unitOfWork;
     _emailSender = emailSender;
 }
Example #19
0
 public LeaveAllocationController(
     ILeaveTypeRepository par_ILeaveTypeRepository,
     ILeaveAllocationRepository par_ILeaveAllocationRepository,
     IMapper par_IMapper,
     UserManager <Employee> par_UserManager)
 {
     _ILeaveTypeRepository       = par_ILeaveTypeRepository;
     _ILeaveAllocationRepository = par_ILeaveAllocationRepository;
     _IMapper     = par_IMapper;
     _userManager = par_UserManager;
 }
 public LeaveAllocationController(
     IMapper mapper,
     UserManager <Employee> userManager,
     ILeaveTypeRepository leaveTypeRepository,
     ILeaveAllocationRepository leaveAllocationRepository)
 {
     this.mapper                    = mapper;
     this.userManager               = userManager;
     this.leaveTypeRepository       = leaveTypeRepository;
     this.leaveAllocationRepository = leaveAllocationRepository;
 }
 public LeaveRequestController(
     ILeaveRequestRepository LeaveRequestRepo,
     ILeaveTypeRepository LeavetypeRepo,
     ILeaveAllocationRepository AllocationRepo,
     IMapper mapper,
     UserManager <Employee> userManager
     )
 {
     _LeaveRequestRepo = LeaveRequestRepo;
     _LeaveTypeRepo    = LeavetypeRepo;
     _AllocationRepo   = AllocationRepo;
     _mapper           = mapper;
     _userManager      = userManager;
 }
Example #22
0
 public HomeController(
     ILogger <HomeController> logger,
     ILeaveAllocationRepository allocationRepo,
     ILeaveRequestRepository requestRepo,
     UserManager <Employee> userManager,
     IMapper mapper
     )
 {
     _logger         = logger;
     _allocationRepo = allocationRepo;
     _requestRepo    = requestRepo;
     _userManager    = userManager;
     _mapper         = mapper;
 }
 public LeaveRequestController(
     ILeaveRequestRepository _leaveRequestRepo,
     IMapper _mapper,
     UserManager <Employee> _userManager,
     ILeaveTypeRepository _leaveTypeRepo,
     ILeaveAllocationRepository _leaveAllocRepo
     )
 {
     this._leaveRequestRepo = _leaveRequestRepo;
     this._leaveTypeRepo    = _leaveTypeRepo;
     this._leaveAllocRepo   = _leaveAllocRepo;
     this._mapper           = _mapper;
     this._userManager      = _userManager;
 }
Example #24
0
 public LeaveRequestsController(
     ILeaveRequestRepository repo
     , ILeaveTypeRepository leaveTypeRepo
     , ILeaveAllocationRepository leaveAllocationRepo
     , UserManager <Employee> userManager
     , IMapper mapper
     )
 {
     this._mapper              = mapper;
     this._repo                = repo;
     this._userManager         = userManager;
     this._leaveTypeRepo       = leaveTypeRepo;
     this._leaveAllocationRepo = leaveAllocationRepo;
 }
Example #25
0
 public LeaveRequestController(
     ILeaveRequestRepository leaveRequestRepo,
     ILeaveAllocationRepository leaveAllocationRepo,
     ILeaveTypeRepository leaveTypeRepo,
     IMapper mapper,
     UserManager <Employee> userManager,
     IPhongBanRepository phongBanRepository,
     INhatKylamViecRepository nhatKylamViecRepository)
 {
     _leaveTypeRepo       = leaveTypeRepo;
     _leaveAllocationRepo = leaveAllocationRepo;
     _leaveRequestRepo    = leaveRequestRepo;
     _mapper                      = mapper;
     _userManager                 = userManager;
     this.phongBanRepository      = phongBanRepository;
     this.nhatKylamViecRepository = nhatKylamViecRepository;
 }
Example #26
0
 public YeuCauDatLuongCoBanController(
     IYeuCauDatLuongCoBanRepository YeuCauDatLuongCoBanRepo,
     ILeaveAllocationRepository leaveAllocationRepo,
     ILeaveTypeRepository leaveTypeRepo,
     IMapper mapper,
     IUserRoleRepository userRoleRepository,
     IRoleRepository roleRepository,
     UserManager <Employee> userManager)
 {
     _leaveTypeRepo           = leaveTypeRepo;
     _leaveAllocationRepo     = leaveAllocationRepo;
     _YeuCauDatLuongCoBanRepo = YeuCauDatLuongCoBanRepo;
     _mapper = mapper;
     this.userRoleRepository = userRoleRepository;
     this.roleRepository     = roleRepository;
     _userManager            = userManager;
 }
Example #27
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;
        }
        public LeaveRequestController(
            ILeaveRequestsRepository leaveRequestsRepo,
            ILeaveTypeRepository leaveTypeRepo,
            ILeaveAllocationRepository leaveAllocRepo,
            IUnitOfWork unitOfWork,
            IMapper mapper,
            UserManager <Employee> userManager

            )
        {
            _leaveRequestRepo = leaveRequestsRepo;
            _leaveTypeRepo    = leaveTypeRepo;
            _leaveAllocRepo   = leaveAllocRepo;
            _unitOfWork       = unitOfWork;
            _mapper           = mapper;
            _userManager      = userManager;
        }
Example #29
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;
        }
Example #30
0
 public YeuCauTamUngLuongController(
     IYeuCauTamUngLuongRepository YeuCauTamUngLuongRepo,
     ILeaveAllocationRepository leaveAllocationRepo,
     ILeaveTypeRepository leaveTypeRepo,
     IMapper mapper,
     IUserRoleRepository userRoleRepository,
     IRoleRepository roleRepository,
     IPhieuChi_TamUngLuongRepository phieuChi_TamUngLuongRepository,
     UserManager <Employee> userManager,
     IPhongBanRepository phongBanRepository)
 {
     _leaveTypeRepo         = leaveTypeRepo;
     _leaveAllocationRepo   = leaveAllocationRepo;
     _YeuCauTamUngLuongRepo = YeuCauTamUngLuongRepo;
     _mapper = mapper;
     this.userRoleRepository             = userRoleRepository;
     this.roleRepository                 = roleRepository;
     this.phieuChi_TamUngLuongRepository = phieuChi_TamUngLuongRepository;
     _userManager            = userManager;
     this.phongBanRepository = phongBanRepository;
 }