Adds GetRewardsByWinCountAsync and GetMaxWinCountAsync (short-circuits to 0 on empty table). Registers as AddTransient in Program.cs alongside other global catalog repos. 3 NUnit tests pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
242 B
C#
10 lines
242 B
C#
using SVSim.Database.Models;
|
|
|
|
namespace SVSim.Database.Repositories.Globals;
|
|
|
|
public interface IArenaTwoPickRewardRepository
|
|
{
|
|
Task<List<ArenaTwoPickReward>> GetRewardsByWinCountAsync(int winCount);
|
|
Task<int> GetMaxWinCountAsync();
|
|
}
|