public VacationPoliciesService(IMapper mapper, IVacationTypeRepository vacationTypeRepository, IVacationPolicyRepository vacationPolicyRepository, IUserRepository userRepository, IEmployeeService employeeService)
 {
     _vacationTypeRepository   = vacationTypeRepository;
     _vacationPolicyRepository = vacationPolicyRepository;
     _userRepository           = userRepository;
     _employeeService          = employeeService;
     _mapper = mapper;
 }
Beispiel #2
0
 public VacationController(
     IVacationPolicyRepository vacationRepository,
     IEmployeeRepository employeeRepository
     )
 {
     _vacationRepository = vacationRepository;
     _employeeRepository = employeeRepository;
 }
Beispiel #3
0
        public EmployeeController(
            IEmployeeRepository employeeRepository,
            ICompanyHolidayRepository companyRepository,
            IVacationRequestRepository vacationRequestRepository,
            IVacationPolicyRepository vacationPolicyRepository

            )
        {
            _employeeRepository        = employeeRepository;
            _companyRepository         = companyRepository;
            _vacationRequestRepository = vacationRequestRepository;
            _vacationPolicyRepository  = vacationPolicyRepository;
        }
 public AccountService(IUserRepository userRepository,
                       IRoleRepository roleRepository,
                       IUserRoleRepository userRoleRepository,
                       IUserVacationRequestRepository userVacationRequestRepository,
                       IVacationTypeRepository vacationTypeRepository,
                       IVacationPolicyRepository vacationPolicyRepository,
                       ICompanyHolidayRepository companyHolidayRepository)
 {
     _userRepository                = userRepository;
     _roleRepository                = roleRepository;
     _userRoleRepository            = userRoleRepository;
     _userVacationRequestRepository = userVacationRequestRepository;
     _vacationTypeRepository        = vacationTypeRepository;
     _vacationPolicyRepository      = vacationPolicyRepository;
     _companyHolidayRepository      = companyHolidayRepository;
 }