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

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

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