public IHttpActionResult GetPatient() { List <Patient> list = dao.GetAllPatient(); if (list.Count == 0) { return(NotFound()); } return(Ok(list)); }
public IHttpActionResult GetPatient() { List <Patient> list = dao.GetAllPatient(); if (list.Count == 0) { return(NotFound()); } return(Ok(list)); }