Fix API offset limit 400 Bad Request, implement requested UI/UX improvements
This commit is contained in:
@@ -15,6 +15,7 @@ public interface ITraderRepository
|
||||
Task AddAsync(Trader trader, CancellationToken ct = default);
|
||||
Task UpdateAsync(Trader trader, CancellationToken ct = default);
|
||||
Task DeleteAsync(int id, CancellationToken ct = default);
|
||||
Task UpdateRanksAsync(IEnumerable<(int TraderId, int Rank)> ranks, CancellationToken ct = default);
|
||||
|
||||
/// <summary>Get traders that need trade history update (LastTradesUpdatedAt is null or older than given hours).</summary>
|
||||
Task<IReadOnlyList<Trader>> GetTradersDueForTradeUpdateAsync(int cooldownHours = 6, int take = 20, CancellationToken ct = default);
|
||||
|
||||
Reference in New Issue
Block a user