public LeaveAllocationController(ILeaveTypeRepository leaveRepo, ILeaveAllocationRepository leaveAllocationRepo, IMapper mapper, UserManager <Employee> userManager)
 {
     _leaveRepo           = leaveRepo;
     _leaveAllocationRepo = leaveAllocationRepo;
     _mapper      = mapper;
     _userManager = userManager;
 }
예제 #2
0
 public LeaveTypesController(
     ILeaveTypeRepository repo,
     IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
 public LeaveRequestsController(ILeaveRequestRepository oi, ILeaveTypeRepository ie, IEmployeeInfoRepository i, IOverTimeRepository o)
 {
     this.leaveRequestRepository = oi;
     this.leaveTypeRepository    = ie;
     this.employeeInfoRepository = i;
     this.overTimeRepository     = o;
 }
예제 #4
0
        public LeaveSetupController(
            ILeaveDayTypeRepository repo1,
            ILeaveEligibilityRepository repo2,
            ILeavePolicyRepository repo3,
            ILeavePurposeRepository repo4,
            ILeaveTypeRepository repo5,
            ILeaveYearRepository repo6,
            IDecimalRoundingMatrixRepository repo7,
            IProrateMatrixRepository repo8,
            ILeaveSubTypeRepository repo9,
            ILeaveTypeBalanceRepository repo10,
            ILeaveApproverRepository repo11,
            IUserRepository repo12

            )
        {
            LeaveDayType_repo          = repo1;
            LeaveEligibility_repo      = repo2;
            LeavePolicy_repo           = repo3;
            LeavePurpose_repo          = repo4;
            LeaveType_repo             = repo5;
            LeaveYear_repo             = repo6;
            DecimalRoundingMatrix_repo = repo7;
            ProrateMatrix_repo         = repo8;
            LeaveSubType_repo          = repo9;
            LeaveTypeBalance_repo      = repo10;
            LeaveApprover_repo         = repo11;
            user_repo = repo12;
        }
예제 #5
0
 public LeaveTypesController(ILeaveTypeRepository repo, ILeaveAllocationRepository AlloRepo, ILeaveRequestRepository requestRepo, IMapper mapper)
 {
     _repo        = repo;
     _AlloRepo    = AlloRepo;
     _requestRepo = requestRepo;
     _mapper      = mapper;
 }
예제 #6
0
 public LeaveAllocationController(ILeaveAllocationRepository repoleaveAllocation, ILeaveTypeRepository repoleaveTypes, IMapper mapper, UserManager <Employee> userManager)
 {
     _repoleaveAllocation = repoleaveAllocation;
     _repoleaveTypes      = repoleaveTypes;
     _mapper      = mapper;
     _userManager = userManager;
 }
 public LeaveAllocationController(ILeaveTypeRepository leaverepo, ILeaveAllocationRepository allocationrepo, IMapper mapper, UserManager <IdentityUser> userManager)
 {
     _leaverepo     = leaverepo;
     _allocaionrepo = allocationrepo;
     _mapper        = mapper;
     _userManager   = userManager;
 }
예제 #8
0
 public LeaveAllocationController(ILeaveTypeRepository repoLeaveType, ILeaveAllocationRepository repoLeaveAllocation, IMapper mapper, UserManager <IdentityUser> userManager)
 {
     _repoLeaveAllocation = repoLeaveAllocation;
     _repoLeaveType       = repoLeaveType;
     _mapper      = mapper;
     _userManager = userManager;
 }
        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 LeaveRequestsController(ILeaveRequestRepository leaveRequestRepo, IMapper mapper, UserManager <Employee> userManager, ILeaveTypeRepository leaveTypeRepo)
 {
     _leaveRequestRepo = leaveRequestRepo;
     _mapper           = mapper;
     _userManager      = userManager;
     _leaveTypeRepo    = leaveTypeRepo;
 }
예제 #11
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 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;
        }
예제 #13
0
 public LeaveAllocationsController(ILeaveTypeRepository typerepo, ILeaveAllocationRepository repo, UserManager <IdentityUser> userManager, IMapper mapper)
 {
     _typeRepo    = typerepo;
     _repo        = repo;
     _userManager = userManager;
     _mapper      = mapper;
 }
 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(ILeaveAllocationRepository repoleaveallocation, ILeaveTypeRepository repoleavetype, ILeaveRequestRepository repoleaverequest, IMapper mapper, UserManager <Employee> userManager)
 {
     _repoleaverequest    = repoleaverequest;
     _repoleavetype       = repoleavetype;
     _repoleaveallocation = repoleaveallocation;
     _mapper      = mapper;
     _userManager = userManager;
 }
예제 #16
0
 public LeaveRequestController(UserManager <Employee> userManager, ILeaveAllocationRepository leavaAllocRepo, ILeaveTypeRepository leaveTypeRepo, ILeaveRequestRepository repo, IMapper mapper)
 {
     _leaveRequestrepo = repo;
     _leaveTypeRepo    = leaveTypeRepo;
     _leavaAllocRepo   = leavaAllocRepo;
     _mapper           = mapper;
     _userManager      = userManager;
 }
 public LeaveRequestController(ILeaveRequestRepository leaverequestrepo, ILeaveAllocationRepository leaveallocationrepo, ILeaveTypeRepository leavetyperepo, IMapper mapper, UserManager <Employee> userManager)
 {
     _leaveRequestrepo   = leaverequestrepo;
     _leavTyperepo       = leavetyperepo;
     _leavAllocationrepo = leaveallocationrepo;
     _mapper             = mapper;
     _userManager        = userManager;
 }
예제 #18
0
 public LeaveRequestController(ILeaveRequestRepository requestRepo, ILeaveTypeRepository typeRepo, ILeaveAllocationRepository allocationRepo, IMapper mapper, UserManager <Employee> userManager)
 {
     _requestRepo    = requestRepo;
     _typeRepo       = typeRepo;
     _allocationRepo = allocationRepo;
     _mapper         = mapper;
     _userManager    = userManager;
 }
예제 #19
0
 public LeaveAllocationController(IMapper mapper,
                                  ILeaveTypeRepository leaveTypeRepo,
                                  ILeaveAllocationRepository leaveAllocationRepo)
 {
     Mapper              = mapper;
     LeaveTypeRepo       = leaveTypeRepo;
     LeaveAllocationRepo = leaveAllocationRepo;
 }
        public LeaveTypeController(ILeaveTypeRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.LeaveTypeRepository = repository;
        }
예제 #21
0
 public LeaveRequestController(ILeaveRequestRepository leaveRequestRepository, IMapper mapper, UserManager <Employee> userManager,
                               ILeaveTypeRepository leaveTypeRepository, ILeaveAllocationRepository leaveAllocationRepository)
 {
     _leaveRequestRepository = leaveRequestRepository;
     _mapper                    = mapper;
     _userManager               = userManager;
     _leaveTypeRepository       = leaveTypeRepository;
     _leaveAllocationRepository = leaveAllocationRepository;
 }
 public LeaveAllocationController(ILeaveAllocationRepository repository,
                                  ILeaveTypeRepository leaveTypeRepository,
                                  IMapper mapper, UserManager <IdentityUser> userManager)
 {
     _repository          = repository;
     _leaveTypeRepository = leaveTypeRepository;
     _mapper      = mapper;
     _userManager = userManager;
 }
예제 #23
0
        public LeaveTypeController(ILeaveTypeRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.LeaveTypeRepository = repository;
        }
예제 #24
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;
 }
예제 #25
0
 /// <summary>
 /// 请假单服务实现的构造函数
 /// </summary>
 public LeaveService(IUnitOfWork unitOfWork,
                     ILeaveRepository leaveRepository,
                     ILeaveTypeRepository leaveTypeRepository,
                     IUserRepository userRepository)
 {
     _unitOfWork          = unitOfWork;
     _leaveRepository     = leaveRepository;
     _leaveTypeRepository = leaveTypeRepository;
     _userRepository      = userRepository;
 }
 public LeaveAllocationController(
     IMapper mapper,
     UserManager <Employee> userManager,
     ILeaveTypeRepository leaveTypeRepository,
     ILeaveAllocationRepository leaveAllocationRepository)
 {
     this.mapper                    = mapper;
     this.userManager               = userManager;
     this.leaveTypeRepository       = leaveTypeRepository;
     this.leaveAllocationRepository = leaveAllocationRepository;
 }
예제 #27
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;
 }
예제 #28
0
 public LeaveService(ILeaveTypeRepository leaveTypeRepository,
                     ILeaveEntitlmentRepository leaveEntitlmentRepository,
                     ILeavePeriodRepository leavePeriodRepository,
                     IEmployeeRepository employeeRepository,
                     ILeaveRepository leaveRepository,
                     ILeaveRequestRepository leaveRequestRepository)
 {
     _leaveTypeRepository       = leaveTypeRepository;
     _leaveEntitlmentRepository = leaveEntitlmentRepository;
     _leavePeriodRepository     = leavePeriodRepository;
     _employeeRepository        = employeeRepository;
     _leaveRepository           = leaveRepository;
     _leaveRequestRepository    = leaveRequestRepository;
 }
예제 #29
0
        public LeaveTypeController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.LeaveTypeRepository = new MixERP.Net.Core.Modules.HRM.Data.LeaveType
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
예제 #30
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;
 }
 public LeaveRequestController(
     ILeaveRequestRepository LeaveRequestRepo,
     ILeaveTypeRepository LeavetypeRepo,
     ILeaveAllocationRepository AllocationRepo,
     IMapper mapper,
     UserManager <Employee> userManager
     )
 {
     _LeaveRequestRepo = LeaveRequestRepo;
     _LeaveTypeRepo    = LeavetypeRepo;
     _AllocationRepo   = AllocationRepo;
     _mapper           = mapper;
     _userManager      = userManager;
 }
        public LeaveTypeController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.LeaveTypeRepository = new MixERP.Net.Core.Modules.HRM.Data.LeaveType
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }