Esempio n. 1
0
        private async Task<bool> AddTaskModelAsync()
        {
            var taskModelServices = new TaskModelServices();

            var isTaskModelAdded = await taskModelServices.AddTaskModelAsync(_oneTaskModel);

            return isTaskModelAdded;
        }
Esempio n. 2
0
        private async Task DeleteTaskModelAsync()
        {
            var taskModelServices = new TaskModelServices();

            await taskModelServices.DeleteTaskModelAsync(_oneTaskModel);
        }
Esempio n. 3
0
        private async Task DownloadTaskModelsAsync()
        {
            var taskModelServices = new TaskModelServices();

            AllTaskModels = await taskModelServices.GetTaskModelsAsync();
        }