public WeeklyPage(Dictionary <string, object> UserData) { this.UserData = UserData; InitializeComponent(); BindingContext = new WeeklyViewModel(UserData); }
public ActionResult WeeklyPlan(int userExercisePlanSelectionId) { WeeklyViewModel weeklyViewModel = new WeeklyViewModel(userExercisePlanSelectionId, User.Identity.Name); return(View(weeklyViewModel)); }
public Weekly() { InitializeComponent(); weeklyViewModel = new WeeklyViewModel(); this.DataContext = weeklyViewModel; }
public SearchCommand(WeeklyViewModel weekVM)// { this.weeklyViewModel = weekVM; }