19 lines
472 B
C#
19 lines
472 B
C#
using Managing.Domain.Bots;
|
|
using MediatR;
|
|
using static Managing.Common.Enums;
|
|
|
|
namespace Managing.Application.ManageBot.Commands
|
|
{
|
|
public class GetTopBotsByPnLCommand : IRequest<IEnumerable<Bot>>
|
|
{
|
|
public IEnumerable<BotStatus> Statuses { get; }
|
|
public int Count { get; }
|
|
|
|
public GetTopBotsByPnLCommand(IEnumerable<BotStatus> statuses, int count = 3)
|
|
{
|
|
Statuses = statuses;
|
|
Count = count;
|
|
}
|
|
}
|
|
}
|