/// <summary> /// /// </summary> /// <param name="cache"></param> /// <param name="localizer"></param> /// <param name="loggingFacade"></param> /// <param name="xmlApi"></param> public XmlController(IDistributedCache cache, IStringLocalizer <XmlController> localizer, ILoggingFacade loggingFacade, IXmlApi xmlApi) { _xmlApi = xmlApi; _cache = cache; _localizer = localizer; _loggingFacade = loggingFacade; _loggingFacade.LogAsync(new LogEntry(LogLevels.Info, "Starting Xml Controller", "XmlController.cs", "XmlController"), CancellationToken.None); }
public EPSTableApi(IOptions <Settings> optionsAccessor, IEPSTableRepository epsTableRepository, IXmlApi xmlApi) { _epsTableRepository = epsTableRepository; _xmlApi = xmlApi; }