Fix db and fix endpoints
This commit is contained in:
@@ -27,4 +27,5 @@ public interface IAgentSummaryRepository
|
||||
SortableFields sortBy,
|
||||
string sortOrder,
|
||||
IEnumerable<string>? agentNames = null);
|
||||
Task<IEnumerable<AgentSummary>> GetAllAgentWithRunningBots();
|
||||
}
|
||||
@@ -17,6 +17,7 @@ public interface ITradingRepository
|
||||
Task InsertScenarioAsync(Scenario scenario);
|
||||
Task InsertIndicatorAsync(IndicatorBase indicator);
|
||||
Task<IEnumerable<Scenario>> GetScenariosAsync();
|
||||
Task<IEnumerable<Scenario>> GetScenariosByUserAsync(User user);
|
||||
Task<IEnumerable<IndicatorBase>> GetStrategiesAsync();
|
||||
Task<IEnumerable<IndicatorBase>> GetIndicatorsAsync();
|
||||
Task DeleteScenarioAsync(string name);
|
||||
|
||||
@@ -7,6 +7,5 @@ public interface IUserRepository
|
||||
Task<User> GetUserByAgentNameAsync(string agentName);
|
||||
Task<User> GetUserByNameAsync(string name);
|
||||
Task<IEnumerable<User>> GetAllUsersAsync();
|
||||
Task InsertUserAsync(User user);
|
||||
Task UpdateUser(User user);
|
||||
Task SaveOrUpdateUserAsync(User user);
|
||||
}
|
||||
Reference in New Issue
Block a user