예제 #1
0
        public async Task <IActionResult> AuditAsync([FromForm] UnverifyAuditFilterRequest request)
        {
            var logItems = await TempUnverifyLogService.GetAuditLogAsync(request);

            var viewModel = new UnverifyAuditViewModel(DiscordClient, logItems, request);

            return(View(viewModel));
        }
예제 #2
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                TempUnverifyLogService.Dispose();
            }

            base.Dispose(disposing);
        }
예제 #3
0
 public UnverifyController(TempUnverifyLogService tempUnverifyLogService, TempUnverifyService tempUnverifyService, DiscordSocketClient discordClient)
 {
     TempUnverifyService    = tempUnverifyService;
     TempUnverifyLogService = tempUnverifyLogService;
     DiscordClient          = discordClient;
 }