public async Task <Key> GetByUuidAndTypeAsync(Guid uuid, KeyType type, CancellationToken cancellationToken) { return(await _cache.GetOrCreateAsync($"uuid-{uuid.ToString()}-key-{type}", async entry => await _repository.FindOrCreateAsync(uuid, type, cancellationToken))); }