public RZPResultModel GetCompanyByTaxId(string taxId) { Logger.Debug($"{CorrelationId} - Request RZP 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 ARES reponse. Time:{watch.Elapsed}"); watch.Restart(); RZPResultModel result = BaseMapper.MapRZPData(aresResponse); Logger.Debug($"{CorrelationId} - ARES response mapped. Time:{watch.Elapsed}"); return(result); }