Exemplo n.º 1
0
        public JsonResult GetData(Models.Order order)
        {
            ModelService.OrderService orderService = new ModelService.OrderService();
            List <Models.Order>       list         = orderService.SearchOrder(order);

            return(this.Json(list));
        }
Exemplo n.º 2
0
        public CustJsonResult GetData(Models.Order order)
        {
            ModelService.OrderService orderService = new ModelService.OrderService();
            List <Models.Order>       list         = orderService.SearchOrder(order);

            //var A= this.Json(list);
            //return A;
            //var a = this.Json(list);
            return(new CustJsonResult {
                Data = list
            });
        }