public IActionResult Tasks(string id) { var viewModel = new TasksPageViewModel { CurrentListId = id, ToDoLists = toDoService.GetAllCurrentUserLists(), CurrentListToDoItems = toDoService.GetAllItemsByListId(id) }; return(View(viewModel)); }
protected override void OnBindingContextChanged() { _vm = (TasksPageViewModel)BindingContext; TaskList.DayList = _vm.Days; TaskScrollView.BackgroundColor = _vm.BGColor; }