public void CreatePatientInformation([FromBody] Patient.Model.Patient _objPatient) { try { _patientService.CreatePatientInformation(_objPatient); } catch (Exception ex) { throw new ExceptionLayer.ExceptionLayer("patient details cannot be created due to following error ", ex.InnerException); } }