public async Task <IActionResult> PersistedGrantDelete(PersistedGrantDto grant) { await _persistedGrantService.DeletePersistedGrantAsync(grant.Key); SuccessNotification(_localizer["SuccessPersistedGrantDelete"], _localizer["SuccessTitle"]); return(RedirectToAction(nameof(PersistedGrants))); }
public async Task <IActionResult> PersistedGrantDelete(PersistedGrantDto grant) { await _persistedGrantService.DeletePersistedGrantAsync(grant.Key); return(Success()); }
public async Task <IActionResult> Delete(string id) { await _persistedGrantsService.DeletePersistedGrantAsync(UrlHelpers.QueryStringUnSafeHash(id)); return(Ok()); }