Пример #1
0
        public HttpResponseMessage GetDoctorsFromDifferentPractice()
        {
            var transaction = new TransactionalInformation();
            var response    = doctorService.GetDoctorsFromDifferentPractice(connectionString, SessionToken, out transaction);

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

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