Esempio n. 1
0
 public IActionResult RegisterProcedure(NewProcedureViewModel model)
 {
     try{
         _clinicService.RegisterProcedure(model.PatientId, model.ToothId, model.AppointmentId, model.ProcedureId, model.Comments);
         return(Ok());
     }catch (Exception exception) {
         return(BadRequest(GenerateErrorInfo(exception)));
     }
 }