示例#1
0
        public void StartNewRound()
        {
            Round newRound = new Round(this.Rounds.Count + 1, _roundDAL, _wheel)
            {
                RoomId    = this.Id,
                RoundTime = RoundTime
            };

            if (_roomDAL.SaveRound(newRound))
            {
                Rounds.Add(newRound);
                newRound.Start();
            }

            //Update statement needs to happen here.
        }