public ActionResult FunctionalBuilding(BuildingLinksModel model) { if (ModelState.IsValid) { services.SaveFunctionalBuildingLinks(model); return(RedirectToAction("FunctionalBuildings")); } return(View(model)); }
public ActionResult FunctionalBuilding(long FloorId) { BuildingLinksModel model = services.GetFloorLinks(FloorId); return(View(model)); }