コード例 #1
0
        public async Task <IActionResult> DeleteAll(PersistedGrantModel model)
        {
            await _persistedGrantService.DeleteAllBySubjectIdAsync(model.SubjectId);

            SuccessNotification("删除成功", "成功");

            return(RedirectToAction(nameof(Index)));
        }