Add ROI to botPaginated

This commit is contained in:
2025-10-06 23:54:59 +07:00
parent 51fbef6072
commit 85000644a6
10 changed files with 69 additions and 84 deletions

View File

@@ -55,7 +55,7 @@ public interface IBotService
string? name = null,
string? ticker = null,
string? agentName = null,
string sortBy = "CreateDate",
BotSortableColumn sortBy = BotSortableColumn.CreateDate,
string sortDirection = "Desc");
/// <summary>

View File

@@ -451,7 +451,7 @@ namespace Managing.Application.ManageBot
string? name = null,
string? ticker = null,
string? agentName = null,
string sortBy = "CreateDate",
BotSortableColumn sortBy = BotSortableColumn.CreateDate,
string sortDirection = "Desc")
{
return await ServiceScopeHelpers.WithScopedService<IBotRepository, (IEnumerable<Bot> Bots, int TotalCount)>(