예제 #1
0
 public IHttpActionResult ClosePatientDisease(Models.MedicalRecordBindingModel model)
 {
     try
     {
         var result = _patientData.ClosePatientDisease(model.IdPatient, model.Disease, Convert.ToDateTime(model.StartTime));
         return(Ok(result));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }