public async Task <IActionResult> PersistedGrantsDelete(PersistedGrantsDto grants) { await _persistedGrantService.DeletePersistedGrantsAsync(grants.SubjectId); SuccessNotification(_localizer["SuccessPersistedGrantsDelete"], _localizer["SuccessTitle"]); return(RedirectToAction(nameof(PersistedGrants))); }
public async Task <IActionResult> PersistedGrantsDelete(PersistedGrantsDto grants) { await _persistedGrantService.DeletePersistedGrantsAsync(grants.SubjectId); return(Success()); }
public async Task <IActionResult> DeleteBySubject(string subjectId) { await _persistedGrantsService.DeletePersistedGrantsAsync(subjectId); return(Ok()); }