Example #1
0
 public HolidayConfirmService(
     IEmailService emailService,
     IMapper mapper,
     IHolidaysRepository repositoryHolidays,
     IEmployeeRepository repositoryEmployees,
     IRepository <Client> repositoryClients,
     IHolidaysService holidaysService,
     IDocxGeneratorService docxGeneratorService,
     IOvertimeUtility overtimeUtility,
     IEmployeeHolidaysConfirmationUpdater employeeHolidaysConfirmationUpdater,
     IHolidayGuidsRepository holidayGuidsRepository,
     ILogger <HolidayConfirmService> logger)
 {
     _emailService         = emailService;
     _mapper               = mapper;
     _repositoryEmployees  = repositoryEmployees;
     _repositoryClients    = repositoryClients;
     _repositoryHolidays   = repositoryHolidays;
     _holidaysService      = holidaysService;
     _docxGeneratorService = docxGeneratorService;
     _overtimeUtility      = overtimeUtility;
     _employeeHolidaysConfirmationUpdater = employeeHolidaysConfirmationUpdater;
     _holidayGuidsRepository = holidayGuidsRepository;
     _logger = logger;
 }
 public HolidayConfirmController(
     IHolidayConfirmService confirmationService,
     IHolidayValidationService holidayValidationService,
     IHolidaysService holidaysService,
     ILogger <HolidayConfirmController> logger)
 {
     _confirmationService      = confirmationService;
     _holidayValidationService = holidayValidationService;
     _holidaysService          = holidaysService;
     _logger = logger;
 }
Example #3
0
 public EmailService(
     IEmailer emailer,
     IEmailTemplatesRepository repository,
     IConfiguration configuration,
     IFileService fileService,
     IHolidaysService holidaysService,
     IOvertimeUtility overtimeUtility)
 {
     _emailer         = emailer;
     _repository      = repository;
     _configuration   = configuration;
     _fileService     = fileService;
     _holidaysService = holidaysService;
     _overtimeUtility = overtimeUtility;
 }
 public AppointmentService(IUnitOfWork unitOfWork,
                           IHostingEnvironment environment,
                           IHolidaysService holidaysService,
                           IEmailService emailService,
                           IConverter <AppointmentViewModel, Appointment> viewModelToModelConverter,
                           IConverter <Appointment,
                                       AppointmentDto> modelToDtoConverter)
 {
     _unitOfWork                = unitOfWork;
     _environment               = environment;
     _holidaysService           = holidaysService;
     _emailService              = emailService;
     _viewModelToModelConverter = viewModelToModelConverter;
     _modelToDtoConverter       = modelToDtoConverter;
 }
Example #5
0
 public ClaimController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     IClaimService service,
     IHostingEnvironment env,
     FileHelper fileHelper,
     IAllowanceListService allowanceList,
     IHolidaysService holiday,
     IUserHelper
     userHelper) : base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _allowanceList = allowanceList;
     _userHelper    = userHelper;
     _env           = env;
     _fileHelper    = fileHelper;
     _holiday       = holiday;
 }
Example #6
0
 public HolidaysController(IHolidaysService holidaysService)
 {
     _holidaysService = holidaysService;
 }
Example #7
0
 public HolidaysController(IHolidaysService holidaysService, ITimeService timeService)
 {
     _holidaysService = holidaysService;
     _timeService     = timeService;
 }
Example #8
0
 public CountriesController(IHolidaysService holidaysService)
 {
     _holidaysService = holidaysService;
 }
Example #9
0
 public HolidaysTests()
 {
     _holidaysService = new HolidaysService();
 }
 public HolidaysController(IHolidaysService service)
 {
     _service = service;
 }
Example #11
0
 public HolidaysController(ApplicationDbContext context, IHolidaysService HolidaysService)
 {
     _context         = context;
     _HolidaysService = HolidaysService;
 }
 public HolidaysController(ILogger logger, IHolidaysService holidaysService)
     : base(logger)
 {
     this.holidaysService = holidaysService;
 }