public async Task <IActionResult> AuditAsync([FromForm] UnverifyAuditFilterRequest request) { var logItems = await TempUnverifyLogService.GetAuditLogAsync(request); var viewModel = new UnverifyAuditViewModel(DiscordClient, logItems, request); return(View(viewModel)); }
protected override void Dispose(bool disposing) { if (disposing) { TempUnverifyLogService.Dispose(); } base.Dispose(disposing); }
public UnverifyController(TempUnverifyLogService tempUnverifyLogService, TempUnverifyService tempUnverifyService, DiscordSocketClient discordClient) { TempUnverifyService = tempUnverifyService; TempUnverifyLogService = tempUnverifyLogService; DiscordClient = discordClient; }