public async Task <IActionResult> Details()
        {
            HospitalDetailsViewModel hospitalDetailsViewModel = (await hospitalService.Get())
                                                                .To <HospitalDetailsViewModel>();

            return(View(hospitalDetailsViewModel));
        }
Пример #2
0
        private void cmbHospital_SelectedIndexChanged(object sender, EventArgs e)
        {
            cmbPoliclinic.Enabled = true;
            ComboBoxItem cbi = (ComboBoxItem)cmbHospital.SelectedItem;

            CHospital = hospitalService.Get(cbi.Value);

            PoliclinicBind(CHospital.Id);
        }