コード例 #1
0
        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;
            }
        }
コード例 #2
0
 public IActionResult Index()
 {
     return(View(_taskService.GetAllTasks()));
 }