コード例 #1
0
        public ActionResult <IntakeFormModel> Post([FromBody] IntakeFormModel intakeForm)
        {
            try
            {
                IntakeFormModel newIntakeForm = _intakeBusiness.Create(intakeForm);

                return(newIntakeForm);
            }
            catch (Exception ex)
            {
                _logging.Log(LogSeverity.Error, ex.ToString());
                throw;
            }
        }