Add async for saving backtests

This commit is contained in:
2025-11-05 16:58:46 +07:00
parent db6e06ad5d
commit 5afddb895e
3 changed files with 14 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ namespace Managing.Application.Abstractions.Repositories;
public interface IBacktestRepository
{
void InsertBacktestForUser(User user, Backtest result);
Task InsertBacktestForUserAsync(User user, Backtest result);
IEnumerable<Backtest> GetBacktestsByUser(User user);
Task<IEnumerable<Backtest>> GetBacktestsByUserAsync(User user);
IEnumerable<Backtest> GetBacktestsByRequestId(Guid requestId);