コード例 #1
0
ファイル: DoctorService.cs プロジェクト: ProbaFirma10/Proba
 /// <summary> This method is getting all doctors that have same specialty given as parameter. </summary>
 /// <returns> list of all doctors that have same specialty. </returns>
 public List <DoctorUser> GetDoctorsBySpecialty(string specialty)
 {
     return(GetAll().FindAll(doctor => UtilityMethods.CheckForSpecialty(doctor, specialty)));
 }