예제 #1
0
        public ActionResult BoxList()
        {
            BoxCache boxcache = RemotingHelp.GetModelObject <BoxCache>();

            ViewBag.boxlist = boxcache.GetBoxes();
            return(View());
        }
예제 #2
0
        /// <summary>
        /// 获取包厢列表
        /// </summary>
        /// <returns></returns>
        public ActionResult GetBoxes()
        {
            BoxCache boxcache = RemotingHelp.GetModelObject <BoxCache>();

            return(Json(
                       boxcache.GetBoxes(),
                       JsonRequestBehavior.AllowGet
                       ));
        }
예제 #3
0
        public List <bsp_boxes> GetBoxes()
        {
            BoxCache bcache = RemotingHelp.GetModelObject <BoxCache>();

            return(bcache.GetBoxes());
        }