示例#1
0
        public static UserCourseRoleMappingModel GetBotUser(int courseID)
        {
            try
            {
                var user = SQLAdapter.GetBotUser(courseID);

                return(ModelMapper.MapToUserModel(user));
            }
            catch (Exception e)
            {
                return(null);
            }
        }