Exemplo n.º 1
0
        public IHttpActionResult GetRecord_TheoID(int PatientID)//int employeeID
        {
            List <RecordShow> list = dao.GetAllRecord(PatientID);

            if (list.Count == 0)
            {
                return(NotFound());
            }

            return(Ok(list));
        }