Ejemplo n.º 1
0
        public async Task <IActionResult> ApiSecretDelete(ApiResourceSecretsDto apiSecret)
        {
            await _apiResourceService.DeleteApiResourceSecretAsync(apiSecret);

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

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