Exemple #1
0
        public HttpResponseMessage SavePatientFeeWaiver(PatientFeeWaiver fee_waiver)
        {
            var transaction = new TransactionalInformation();

            patientDataService.SavePatientFeeWaiver(fee_waiver.patient_id, fee_waiver.issue_date, connectionString, SessionToken, out transaction);
            if (transaction.ReturnStatus)
            {
                return(Request.CreateResponse(HttpStatusCode.Created));
            }

            return(Request.CreateResponse <TransactionalInformation>(HttpStatusCode.InternalServerError, transaction));
        }