public async Task <IActionResult> ApiSecrets(int id, int?page) { if (id == 0) { return(NotFound()); } var apiSecrets = await _apiResourceService.GetApiSecretsAsync(id, page ?? 1); _apiResourceService.BuildApiSecretsViewModel(apiSecrets); return(View(apiSecrets)); }