Ejemplo n.º 1
0
        public HttpResponseMessage GetDoctorsConsentDetails([FromUri] Guid assignmentID)
        {
            TransactionalInformation transaction = new TransactionalInformation();
            var response = docDataService.GetDoctorsConsentDetails(assignmentID, connectionString, SessionToken, out transaction);

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

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