public IHttpActionResult GetPatient_byName(string name) { List <Patient> list = dao.SearchBenhNhan2(name); if (list.Count == 0) { return(NotFound()); } return(Ok(list)); }
public IHttpActionResult GetPatient_byName(string name) { List <Patient> list = dao.SearchBenhNhan2(name); if (list.Count == 0) { return(NotFound()); } return(Ok(list)); }