Ejemplo n.º 1
0
        public IActionResult PlanPage(int actionPlanID)
        {
            actionPlan = actionPlanCollection.GetActionPlan(actionPlanID);

            PlanPageViewModel model = new PlanPageViewModel()
            {
                PlanTitle   = actionPlan.PlanTitle,
                PlanMessage = actionPlan.PlanMessage
            };

            return(View(model));
        }
Ejemplo n.º 2
0
        protected override void OnAppearing()
        {
            PlanPageViewModel vm = new PlanPageViewModel(Children);

            this.BindingContext = vm;
        }