public async Task GetDetails(Guid id) { try { IsBusy = true; IsEnabled = false; // var position = await GenericPageViewModel.GetCurrentLocation(); _detalModel = await restClient.GetAsync <Detailmodel>(AppConstants.YouKnow_URl + "GetCongestionById?id=" + id, false); NotifyPropertyChanged("DetailModel"); } catch (RestClientException ex) { Debug.WriteLine(ex.Message); throw; } finally { IsBusy = false; IsEnabled = true; } }
public Detailcong() { _detalModel = new Detailmodel(); }
public DetailViewModel() { _detalModel = new Detailmodel(); }