Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
        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;
        }