public Task <IEnumerable <Todo> > Handle( GetAllTodosRequest request, CancellationToken cancellationToken) { return(Task.FromResult(this.store.GetTodos())); }
public Task <IEnumerable <TodoItem> > Handle(GetAllTodosRequest request, CancellationToken cancellationToken) { return(TodoStorageService.GetAllAsync()); }