private async void FindFilm() { FoundFilms = (await filmService.GetFilm(RequiredFilm))?.ToList(); if (FoundFilms != null) { var loockedVM = (new ViewModelLocator().LookedFilmsViewModel); await loockedVM.Load(); OnPropertyChanged(nameof(FoundFilms)); } }
public ActionResult <Film> GetFilm([FromRoute] int id) { return(_filmsService.GetFilm(id)); }