示例#1
0
        public ActionResult Map(long ID)
        {
            RoomMapViewModel vModel = new RoomMapViewModel
            {
                Here = TemplateCache.Get <IRoomTemplate>(ID)
            };

            return(View("~/Views/GameAdmin/Room/Map.cshtml", vModel));
        }
示例#2
0
        public ActionResult Map(long ID)
        {
            var vModel = new RoomMapViewModel();

            vModel.Here = BackingDataCache.Get<IRoomData>(ID);

            return View("~/Views/GameAdmin/Room/Map.cshtml", vModel);
        }