public async Task <ExtendedApiKey> FindKeyByPublicKeyAsync(string publicKey) { return(ApiKeys.FirstOrDefault(s => s.PublicKey == publicKey)); }
public async Task <ExtendedApiKey> FindKeyByIdAsync(int id) { return(ApiKeys.FirstOrDefault(s => s.Id == id)); }