예제 #1
0
 public IHttpActionResult GetPatientDataByPatientId(int id)
 {
     try
     {
         var result = _patientData.GetPatientDataById(id);
         return(Ok(result));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }