/// <summary> /// Load the state. /// </summary> /// <param name="args">The PhotoDetailsViewModelPhotoIdArgs.</param> public async Task LoadState(PhotoDetailsViewModelPhotoIdArgs args) { await base.LoadState(); Photo = await _petCareService.GetPhotoDetails(args.PhotoId); _isPhotoLoadedFromService = true; await ShowAnnotations(); }
/// <summary> /// Load the state. /// </summary> /// <param name="args">The PhotoDetailsViewModelPhotoIdArgs.</param> public async Task LoadState(PhotoDetailsViewModelPhotoIdArgs args) { await base.LoadState(); Photo = await _photoService.GetPhotoDetails(args.PhotoId); _isPhotoLoadedFromService = true; await ShowAnnotations(); }