using ODMO.Commons.DTOs.Assets; namespace ODMO.Commons.Models.Assets { public sealed class ArenaRankingDailyItemRewardsModel { public long Id { get; set; } public DayOfWeek WeekDay { get; set; } public List Rewards { get; set; } public List GetRewards(int previousPoints,int currentPoints) { return Rewards.Where(x => previousPoints < x.RequiredCoins && currentPoints >= x.RequiredCoins)?.ToList(); } } }