// GET: BetHistory public ActionResult Index() { var viewModel = new RiskViewModel { UnusualSettledWinnings = _manager.GetSettledUnusualWinnings(), UnusualUnsettledWinnings = _manager.GetUnSettledUnusualWinnings(), AverageBetsRisks = _manager.GetAverageBetsRisks(), HighWinningStakes = _manager.GetHighWinningStakesFromUnsettled() }; return(View(viewModel)); }
public void should_get_average_bet_risk() { var items = _manager.GetAverageBetsRisks(); Assert.NotNull(items); }