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