public ConferenceAddsScientistViewModel(Window window, ConferenceModel conference) { List <Scientist> scientists = ScientistService.GetScientists(); foreach (Scientist s in scientists) { Scientists.Add(new ScientistModel(s)); } this.Window = window; this.SelectedConference = conference; }
public OrganizationAddsScientistViewModel(Window window, OrganizationModel organization) { List <Scientist> scientists = ScientistService.GetScientists(); foreach (Scientist s in scientists) { Scientists.Add(new ScientistModel(s)); } this.Window = window; this.SelectedOrganization = organization; }
public CountryAddsScientistViewModel(Window window, CountryModel selectedCountry) { List <Scientist> scientists = ScientistService.GetScientists(); foreach (Scientist s in scientists) { Scientists.Add(new ScientistModel(s)); } this.Window = window; this.SelectedCountry = selectedCountry; }