Ejemplo n.º 1
0
        // GET: Admin/ShipmentManager
        public ActionResult Index(int page = 1, short Status = 1)
        {
            this.StatusList(Status);
            ViewBag.CurrentPage = page;
            var records = m_shipmentWorker.GetManagerShipmentTypesList(Status);

            ViewBag.TotalPage = records.Count;
            var model = records.OrderBy(o => o.Id).Skip((page - 1) * AppConfig.PAGE_SIZE).Take(AppConfig.PAGE_SIZE);

            return(View(model));
        }