public AddFilmPageViewModel(MainViewModel mvm) { SuperViewModel = mvm; ListVO = ComboboxUtils.init(new Pays()); ListME = ComboboxUtils.init(new Pays()); ListStatut = ComboboxUtils.init(new Statut()); }
public AddAmiViewModel(NavigationViewModel nav, Personne pers = null) { _amiService = new AmiService(); NavigationViewModel = nav; Civilites = ComboboxUtils.init(new Civilite()); Nationalites = ComboboxUtils.init(new Langue()); if (pers == null) { Ami = new Personne(); _update = false; } else { Ami = pers; _update = true; } }
public AddFilmViewModel(NavigationViewModel nav, Film film = null) { _filmService = new FilmService(); _genreService = new GenreService(); NavigationViewModel = nav; Genres = _genreService.GetGenres(); Langues = ComboboxUtils.init(new Langue()); if (film == null) { Film = new Film(); _update = false; } else { Film = film; _update = true; } }
public AddFriendPageViewModel(MainViewModel mvm) { SuperViewModel = mvm; ListCivilite = ComboboxUtils.init(new Civilite()); ListNat = ComboboxUtils.init(new Pays()); }
public AddCollabPageViewModel(MainViewModel mvm) { SuperViewModel = mvm; ListFonction = ComboboxUtils.init(new Fonction()); }