Example #1
0
        private async Task Add()
        {
            await TasksService.AddTaskAsync(Date, new TaskViewModel
            {
                Name = _currentTaskName
            });

            _currentTaskName = null;
            await Refresh();
        }