Esempio n. 1
0
        public HttpResponseMessage GetContractsForDropDown()
        {
            TransactionalInformation transaction = new TransactionalInformation();

            var data = docDataService.ContractsForDropDown(connectionString, SessionToken, out transaction);

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

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