public ActionResult FloorPlan(int mapId, int floorId) { var mapsCtrl = new MapsController(); ObjectResponse<Floor> result = mapsCtrl.GetFloor(floorId); return View(result); }
public ActionResult GetFloor(int id) { var mapsCtrl = new MapsController(); ObjectResponse<Floor> floor = mapsCtrl.GetFloor(id); return PartialView("_Layer", floor); }