public IActionResult ChangeToothStatus(ChangeToothStatusViewModel model) { try{ _clinicService.ChangeToothStatus(model.PatientId, model.ToothId, model.Absent, model.Implanted, model.Recovered, model.Damaged); return(Ok()); }catch (Exception exception) { return(BadRequest(GenerateErrorInfo(exception))); } }