예제 #1
0
        public int?GetUserIdByScene(string scene)
        {
            int userId = 0;

            if (int.TryParse(scene, out userId))
            {
                if (sys_UserBLL.GetByPK(userId) != null)
                {
                    return(userId);
                }
                else
                {
                    return(null);
                }
            }
            else
            {
                return(null);
            }
        }