コード例 #1
0
        //Also replace this with a better stored procedure if time permits.
        public static bool CheckUserGame(int gameId, string username)
        {
            bool result = false;

            try
            {
                result = 1 == GameAccessor.VerifyUserGame(gameId, username);
            }
            catch (Exception)
            {
                throw;
            }

            return(result);
        }