/// <inheritdoc /> public Task <IEnumerable <GetAllToDoHeadersQuery.ToDoHeader> > Handle( GetAllToDoHeadersQuery request, CancellationToken cancellationToken) => _cache.GetAndSetAsync( GetKey <GetAllToDoHeadersQuery.ToDoHeader>(request.UserId), () => _database.Query <GetAllToDoHeadersQuery.ToDoHeader>().Where($"UserId = {request.UserId}").AsEnumerable(), _options.Value);