public List <string> GetDoctorList(int id)
 {
     return(aDoctorGateway.GetDoctorList(id));
 }
        public List <Doctor> GetDoctorList()
        {
            DoctorGateway doctorGateway = new DoctorGateway();

            return(doctorGateway.GetDoctorList());
        }
Beispiel #3
0
        public HttpResponseMessage GetDoctorList(string searchString)
        {
            var formatter = RequestFormat.JsonFormaterString();

            return(Request.CreateResponse(HttpStatusCode.OK, _dGateway.GetDoctorList(searchString), formatter));
        }
Beispiel #4
0
 public List <Doctor> GetDoctorList()
 {
     return(doctorGateway.GetDoctorList());
 }