Exemple #1
0
        public HttpResponseMessage CheckLanrForMerge([FromUri] string lanr, [FromUri] Guid practice_id)
        {
            var transaction = new TransactionalInformation();
            var response    = docDataService.CheckLanrForMerge(lanr, practice_id, connectionString, SessionToken, out transaction);

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

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