/// <summary> /// Загрузка расписания и станций по http. /// </summary> public async void LoadHttpDataInDb(string tableName, string railwayStationName, int ecpCode) { var stationOwner = new Station { Name = railwayStationName, EcpCode = ecpCode }; var processViewModel = new ProcessViewModel(_eventAggregator, stationOwner); _windowManager.ShowWindow(processViewModel); await ApkDk.LoadHttpDataInDb(tableName, stationOwner); }