public async Task <IActionResult> ExportExcel(GetAuditLogDto input) { var content = await AuditLogAppService.ExportExcel(input); var memoryStream = new MemoryStream(content); return(new FileStreamResult(memoryStream, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") { FileDownloadName = "AuditLog.xlsx" }); }
public virtual Task <PagedResultDto <AuditLogDto> > GetListAsync(GetAuditLogDto input) { return(AuditLogAppService.GetListAsync(input)); }