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;
            }
        }
Esempio n. 2
0
 public IActionResult Index()
 {
     return(View(_taskService.GetAllTasks()));
 }