Fix bot TOP 3
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user