Ejemplo n.º 1
0
        public HttpResponseMessage GetScheduledContainerdata(string orderdetailkey)
        {
            SchedulingDL dl   = new SchedulingDL();
            AccountingDL obj  = new AccountingDL();
            var          data = dl.GetScheduledContainer(orderdetailkey);

            if (data != null)
            {
                List <AccountingBO> dorder = obj.GetAccountingOptionsbyKey(orderdetailkey);
                data.accountingBO = dorder;
            }
            return(Request.CreateResponse(HttpStatusCode.OK, data, Configuration.Formatters.JsonFormatter));
        }