You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
920 B
C#

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);
}
}
}