Beispiel #1
0
        public ActionResult GetOrderDetails(int orderInfoId)
        {
            var userId = int.Parse(Session["userId"].ToString());
            var result = oBuss.GetOrderDetailInfo(userId, orderInfoId);

            return(View(result));
        }
        public HttpResponseMessage GetOrderDetails(string orderId)
        {
            OrderBuss buss       = new OrderBuss();
            var       orderInfos = buss.GetOrderDetailInfo(orderId);

            return(ToJson(new { Details = orderInfos }));
        }