public EpaadHostedService(IEpaadService epaadService, ILogFactory logFactory) { if (logFactory == null) { throw new ArgumentNullException(nameof(logFactory)); } _epaadService = epaadService; _log = logFactory.CreateLog(this); }
public OrganizationsService(IOrganizationsRepository organizationsRepository, ISupportPersonOrgTypeDefaultRepository supportPersonOrgTypeDefaultRepository, IOrganizationTypesRepository organizationTypesRepository, ICitiesRepository citiesRepository, IAuthorizeService authorizeService, IUsersService usersService, IEpaadService epaadService, IEmailSenderService mailSender, ILogFactory logFactory) : base(organizationsRepository) { if (logFactory == null) { throw new ArgumentNullException(nameof(logFactory)); } _supportPersonOrgTypeDefaultRepository = supportPersonOrgTypeDefaultRepository; _organizationsRepository = organizationsRepository; _organizationTypesRepository = organizationTypesRepository; _citiesRepository = citiesRepository; _authorizeService = authorizeService; _usersService = usersService; _epaadService = epaadService; _mailSender = mailSender; _log = logFactory.CreateLog(this); }