/// <summary> /// If remap from base is enough (no extra properties in derived class) - no need to override. /// </summary> /// <param name="userId"></param> /// <param name="bets"></param> /// <returns></returns> protected virtual IDictionary <int, TTaxInfo> GetBetsTaxDict(int userId, IEnumerable <TUnifiedBet> bets) { var baseBetsTaxes = _taxService.GetBetsTaxes(userId, bets); var betsTaxes = MapBaseToTaxInfo(baseBetsTaxes); var betTaxesDict = betsTaxes.ToDictionary(bt => bt.BetId, bt => bt); return(betTaxesDict); }