Пример #1
0
        private async void FindFilm()
        {
            FoundFilms = (await filmService.GetFilm(RequiredFilm))?.ToList();

            if (FoundFilms != null)
            {
                var loockedVM = (new ViewModelLocator().LookedFilmsViewModel);
                await loockedVM.Load();

                OnPropertyChanged(nameof(FoundFilms));
            }
        }
Пример #2
0
 public ActionResult <Film> GetFilm([FromRoute] int id)
 {
     return(_filmsService.GetFilm(id));
 }