public HttpResponseMessage CheckPatientFeeWaiverForYear([FromUri] string issue_date, [FromUri] Guid patient_id) { var transaction = new TransactionalInformation(); var response = patientDataService.CheckPatientFeeWaiverForYear(patient_id, issue_date, connectionString, SessionToken, out transaction); if (transaction.ReturnStatus) { return(Request.CreateResponse(HttpStatusCode.OK, response)); } return(Request.CreateResponse <TransactionalInformation>(HttpStatusCode.InternalServerError, transaction)); }