예제 #1
0
        public HttpResponseMessage DeletePatientFeeWaiver([FromUri] Guid id)
        {
            var transaction = new TransactionalInformation();

            patientDataService.DeletePatientFeeWaiver(id, connectionString, SessionToken, out transaction);

            if (transaction.ReturnStatus)
            {
                return(Request.CreateResponse(HttpStatusCode.OK));
            }

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