Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public HolidayConfirmController(
     IHolidayConfirmService confirmationService,
     IHolidayValidationService holidayValidationService,
     IHolidaysService holidaysService,
     ILogger <HolidayConfirmController> logger)
 {
     _confirmationService      = confirmationService;
     _holidayValidationService = holidayValidationService;
     _holidaysService          = holidaysService;
     _logger = logger;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 6
0
 public HolidaysController(IHolidaysService holidaysService)
 {
     _holidaysService = holidaysService;
 }
Ejemplo n.º 7
0
 public HolidaysController(IHolidaysService holidaysService, ITimeService timeService)
 {
     _holidaysService = holidaysService;
     _timeService     = timeService;
 }
Ejemplo n.º 8
0
 public CountriesController(IHolidaysService holidaysService)
 {
     _holidaysService = holidaysService;
 }
Ejemplo n.º 9
0
 public HolidaysTests()
 {
     _holidaysService = new HolidaysService();
 }
 public HolidaysController(IHolidaysService service)
 {
     _service = service;
 }
Ejemplo n.º 11
0
 public HolidaysController(ApplicationDbContext context, IHolidaysService HolidaysService)
 {
     _context         = context;
     _HolidaysService = HolidaysService;
 }
Ejemplo n.º 12
0
 public HolidaysController(ILogger logger, IHolidaysService holidaysService)
     : base(logger)
 {
     this.holidaysService = holidaysService;
 }