Example #1
0
 public ApiKeyModule(IApiKeyService apiKeyService) : base("api-keys")
 {
     Get("", async args => await FetchCollection <BrowseApiKeys, ApiKey>
             (async x => await apiKeyService.BrowseAsync(x)).HandleAsync());
 }