public ActionResult BoxList() { BoxCache boxcache = RemotingHelp.GetModelObject <BoxCache>(); ViewBag.boxlist = boxcache.GetBoxes(); return(View()); }
/// <summary> /// 获取包厢列表 /// </summary> /// <returns></returns> public ActionResult GetBoxes() { BoxCache boxcache = RemotingHelp.GetModelObject <BoxCache>(); return(Json( boxcache.GetBoxes(), JsonRequestBehavior.AllowGet )); }
public List <bsp_boxes> GetBoxes() { BoxCache bcache = RemotingHelp.GetModelObject <BoxCache>(); return(bcache.GetBoxes()); }