using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Estsh.Web.Service; using Estsh.Web.Util; using System.Collections; namespace Estsh.Core.Web.Controllers { public class ProdQueueQueryController : Controller { // // GET: /ProdQueueQuery/ ProdQueueQueryDalService service = new ProdQueueQueryDalService(); public ActionResult Index() { return View(); } public ActionResult GetAll(Pager pager) { Hashtable result = new Hashtable(); //result.Add("pager.pageNo", pager.pageNo); ArrayList menuList = service.GetAll(ref pager); result.Add("rows", menuList); //int total = this.service.getMenuCount(); result.Add("pager.totalRows", pager.totalRows); return Json(result); } } }