public async Task GetToDoItemsAsync(string user)
        {
            var items = _toDoItemService.GetToDoItems().ToList();

            await _toDoHubService.ReturnResultToUIAsync(user, items).ConfigureAwait(false);
        }
 public IEnumerable <ToDoItem> GetToDoItems()
 {
     return(_toDoItemService.GetToDoItems());
 }