* log viewer improvements * playout detail table improvements * schedule items table improvements * remove schedule items pager
15 lines
409 B
C#
15 lines
409 B
C#
using System;
|
|
using System.Linq.Expressions;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
using MediatR;
|
|
|
|
namespace ErsatzTV.Application.Logs.Queries
|
|
{
|
|
public record GetRecentLogEntries(int PageNum, int PageSize) : IRequest<PagedLogEntriesViewModel>
|
|
{
|
|
public Expression<Func<LogEntry, object>> SortExpression { get; set; }
|
|
public Option<bool> SortDescending { get; set; }
|
|
}
|
|
}
|