Ejemplo n.º 1
0
        //
        // GET: /SortOrderSearch/Details/

        public ActionResult Details(int page, int rows, FormCollection collection)
        {
            string OrderID   = collection["OrderID"] ?? "";
            string OrderDate = collection["OrderDate"] ?? "";
            var    SortOrder = SortOrderSearchService.GetDetails(page, rows, OrderID, OrderDate);

            return(Json(SortOrder, "text", JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
        //
        // GET: /SortOrderSearch/Details/

        public ActionResult Details(int page, int rows, FormCollection collection)
        {
            string orderID         = collection["OrderID"] ?? "";
            string orderDate       = collection["OrderDate"] ?? "";
            string customerCode    = collection["CustomerCode"] ?? "";
            string customerName    = collection["CustomerName"] ?? "";
            string deliverLineCode = collection["DeliverLineCode"] ?? "";
            var    SortOrder       = SortOrderSearchService.GetDetails(page, rows, orderID, orderDate, customerCode, customerName, deliverLineCode);

            return(Json(SortOrder, "text", JsonRequestBehavior.AllowGet));
        }