예제 #1
0
        public bool CheckIfBetExists(int matchID, int userID)
        {
            bool result;

            int betExists = betrep.CheckBet(matchID, userID);

            if (betExists == 0)
            {
                result = false;
            }
            else
            {
                result = true;
            }

            return(result);
        }