public async Task <IActionResult> ApiSecrets(ApiSecretsDto apiSecret)
        {
            if (!ModelState.IsValid)
            {
                return(View(apiSecret));
            }

            await _apiResourceService.AddApiSecretAsync(apiSecret);

            SuccessNotification(_localizer["SuccessAddApiSecret"], _localizer["SuccessTitle"]);

            return(RedirectToAction(nameof(ApiSecrets), new { Id = apiSecret.ApiResourceId }));
        }