public async Task <IActionResult> PersistedGrantDelete(PersistedGrantDto grant) { await _persistedGrantService.DeletePersistedGrantAsync(grant.Key); SuccessNotification(_localizer["SuccessPersistedGrantDelete"], _localizer["SuccessTitle"]); return(RedirectToAction(nameof(PersistedGrants))); }