public ErrorService(IErrorServiceRepository errorServiceRepository, IChybaFactory chybaFactory, ISendMailService sendMailService, IKnihaServiceRepository knihaServiceRepository, IVytlacokServiceRepository vytlacokServiceRepository, IErrorViewModelFactory errorViewModelFactory, IPouzivatelServiceRepository pouzivatelServiceRepository) { _errorServiceRepository = errorServiceRepository; _chybaFactory = chybaFactory; _sendMailService = sendMailService; _knihaServiceRepository = knihaServiceRepository; _vytlacokServiceRepository = vytlacokServiceRepository; _errorViewModelFactory = errorViewModelFactory; _pouzivatelServiceRepository = pouzivatelServiceRepository; }
public WebService(IErrorViewModelFactory errorViewModelFactory, FeatureSwitchOptions featureSwitchOptions, IMapper autoMapper, IHttpCache cache, IHttpSession session, IWebHostEnvironment hostingEnvironment, IShortCodesRepository shortCodesRepository, IWebTracker webTracker, IEventLogger eventLogger) { ErrorViewModelFactory = errorViewModelFactory; FeatureSwitchOptions = featureSwitchOptions; AutoMapper = autoMapper; Cache = cache; Session = session; HostingEnvironment = hostingEnvironment; ShortCodesRepository = shortCodesRepository; WebTracker = webTracker; CustomLogger = eventLogger; }