public void TakeBet() { BetView BetView = new BetView(this); BetView.Show(); }
private float CalculateProfit(BetView bet) { return((float)Math.Round((decimal)bet.BetValue * bet.Games.Select(e => e.CoefficientValue).Aggregate((decimal)0.95, (x, y) => x * (decimal)y), 2)); }