protected async Task ViewAuditLogs(FileEntryModel file) { var logs = await FileService.GetAuditLogs(file.Id); JSRuntime.Table(logs); AuditLogsDialog.Show(logs); }
protected async Task ViewAuditLogs(ProductModel product) { var logs = await ProductService.GetAuditLogsAsync(product.Id); AuditLogsDialog.Show(logs); }