public async System.Threading.Tasks.Task InitializeGetTasksAsync() { try { IsBusy = true; var items = await _taskServices.GetAllTasks(this.StatusToShow.Id); Tasks = new ObservableCollection <Models.Task>(items); } finally { IsBusy = false; } }
public IActionResult Index() { return(View(_taskService.GetAllTasks())); }