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

            return(View(viewModel));
        }
示例#2
0
        public void should_get_unusual_unsettled_winnings()
        {
            var items = _manager.GetUnSettledUnusualWinnings();

            Assert.NotNull(items);
        }