private void processSpecialitySelection() { if (SelectSpeciality == null) { Doctors = null; return; } string content = _doctorCollectionDataResolver.RequestProcess(SelectClinic.Id, SelectSpeciality.Id); Doctors = _doctorCollectionParser.ParseDoctors(content); IsDoctorsExpanded = true; }
private IList <IDoctor> loadDoctors(ClinicSpec clinicSpec) { string content = _doctorCollectionDataResolver.RequestProcess(clinicSpec.Clinic.Id, clinicSpec.Spec.Id); return(_doctorCollectionParser.ParseDoctors(content)); }