public static UserCourseRoleMappingModel GetBotUser(int courseID) { try { var user = SQLAdapter.GetBotUser(courseID); return(ModelMapper.MapToUserModel(user)); } catch (Exception e) { return(null); } }