public BasicResultModel GetCompanyByTaxId(string taxId) { Logger.Debug($"{CorrelationId} - Request Basic Data for taxId:{taxId} started"); Stopwatch watch = Stopwatch.StartNew(); Ares_odpovedi aresResponse = WebRequestHelper.XmlWebRequestSequence <Ares_odpovedi>( PrepareUrl(new Dictionary <string, string> { { "ico", taxId } }) ); Logger.Debug($"{CorrelationId} - Got Response from ARES. Time:{watch.Elapsed}"); watch.Restart(); BasicResultModel result = BaseMapper.MapBasicData(aresResponse); Logger.Debug($"{CorrelationId} - ARES response mapped. Time:{watch.Elapsed}"); return(result); }