public FilmsEditingViewModel(Film film) { CurrentFilm = film; if (film.Id != 0) { OriginalFilm = DbMethods.GetFilmFromDbById(film.Id); NotifyOfPropertyChange(() => CanSelectSeason); } Seasons = film.Id != 0 ? new BindableCollection <Season>(OriginalFilm.Seasons) : new BindableCollection <Season>(); SelectedSeason = Seasons.FirstOrDefault(); NotifyOfPropertyChange(() => CreateFilmVisibility); NotifyOfPropertyChange(() => SaveChangesVisibility); }