Ejemplo n.º 1
0
        public HttpResponseMessage GetUsedHips()
        {
            var transaction = new TransactionalInformation();
            var hips        = patientDataService.GetUsedHips(connectionString, SessionToken, out transaction);

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

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