Ejemplo n.º 1
0
        /// <summary>
        /// Load danh sách bản ghi dưới dạng bảng
        /// </summary>
        /// <returns></returns>
        public ActionResult ListItems()
        {
            decimal?total;
            decimal?totalpay;
            decimal?totaldiscount;
            var     model = new ModelOrderItem
            {
                ListOrderItem = _orderDa.GetListSimpleByRequest(Request, 2010, out total, out totalpay, out totaldiscount),
                Total         = total,
                TotalPay      = totalpay,
                PageHtml      = _orderDa.GridHtmlPage
            };

            return(View(model));
        }