private void LoadServiceCompanyInfo(ServiceCompanyDto selectedServiceCompany)
        {
            if (_view == null)
            {
                return;
            }
            if (selectedServiceCompany == null)
            {
                return;
            }

            var flowDoc = ((GetScInfoDialog)_view).FlowInfo.Document;

            var flowDocument = _requestService.GetServiceCompanyAdvancedInfo(selectedServiceCompany.Id) ?? "";
            var content      = new TextRange(flowDoc.ContentStart, flowDoc.ContentEnd);

            if (content.CanLoad(System.Windows.DataFormats.Xaml))
            {
                using (var stream = new MemoryStream())
                {
                    var buffer = Encoding.Default.GetBytes(flowDocument);
                    stream.Write(buffer, 0, buffer.Length);
                    if (stream.Length > 0)
                    {
                        content.Load(stream, System.Windows.DataFormats.Xaml);
                    }
                    else
                    {
                        content.Text = "";
                    }
                }
            }
        }
 private void RefreshStreets(CityDto city, ServiceCompanyDto company)
 {
     StreetList.Clear();
     if (city == null)
     {
         return;
     }
     RequestService.GetStreets(city.Id, company?.Id).ToList().ForEach(s => StreetList.Add(s));
 }