Exemple #1
0
 public ActionResult FloorPlan(int mapId, int floorId)
 {
     var mapsCtrl = new MapsController();
     ObjectResponse<Floor> result = mapsCtrl.GetFloor(floorId);
     return View(result);
 }
Exemple #2
0
        public ActionResult GetFloor(int id)
        {
            var mapsCtrl = new MapsController();
            ObjectResponse<Floor> floor = mapsCtrl.GetFloor(id);

            return PartialView("_Layer", floor);
        }