public ActionResult <IntakeFormModel> Put(int id, [FromBody] IntakeFormModel intakeForm) { try { intakeForm.IntakeFormId = id; return(_intakeBusiness.Update(intakeForm)); } catch (Exception ex) { _logging.Log(LogSeverity.Error, ex.ToString()); throw; } }