public ActionResult Show(PlanPage page) { //get all plans page.Plans = _planService.GetallPlans(); return(View(page)); }
public App() { InitializeComponent(); PlanPage planPage = new PlanPage(); RootPage rootPage = new RootPage(planPage); MainPage = rootPage; }
public RootPage(PlanPage planPage) { InitializeComponent(); MasterBehavior = MasterBehavior.Popover; MenuPage menuPage = new MenuPage(); menuPage.ListView.ItemSelected += OnItemSelectedAsync; Master = menuPage; NavigationPage navigationPage = new NavigationPage(planPage); navigationPage.BarBackgroundColor = color; Detail = navigationPage; }