Fix mediator

This commit is contained in:
2025-08-05 17:31:10 +07:00
parent 6c63b80f4a
commit 843239d187
9 changed files with 103 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ namespace Managing.Application.ManageBot.Commands
/// <summary>
/// Command to retrieve only online agent names
/// </summary>
public class GetOnlineAgentNamesCommand : IRequest<List<string>>
public class GetOnlineAgentNamesCommand : IRequest<IEnumerable<string>>
{
public GetOnlineAgentNamesCommand()
{

View File

@@ -6,7 +6,7 @@ namespace Managing.Application.ManageBot.Commands
/// <summary>
/// Command to retrieve all strategies owned by a specific user
/// </summary>
public class GetUserStrategiesCommand : IRequest<List<Bot>>
public class GetUserStrategiesCommand : IRequest<IEnumerable<Bot>>
{
public string AgentName { get; }