Esempio n. 1
0
        public IHttpActionResult CreatePatient(PatientModel model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            _patientHelper.CreatePatient(model);

            return(Ok());
        }