public GroupTypeInfo CreateGroupType(
     string name, RichTextInfo desc, Identifier ownerId,
     bool autoEnroll, bool randomEnroll, int numEnroll, GroupEnrollmentStyle enrollStyle)
 {
     CreateGroupTypeRequest request = new CreateGroupTypeRequest() {
         Name = name,
         Description = desc,
         OwnerOrgUnitId = ownerId,
         IsAutoEnroll = autoEnroll,
         RandomizeEnrollments = randomEnroll,
         EnrollmentQuantity = numEnroll,
         EnrollmentStyle = enrollStyle
     };
     CreateGroupTypeResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, CreateGroupTypeRequest, CreateGroupTypeResponse>(
         m_service1_0, request, ( s, q ) => s.CreateGroupType( q ) );
     return response.GroupType;
 }
 public SectionInfo CreateSection(
     string name, string code, RichTextInfo description, Identifier courseOfferingId)
 {
     CreateSectionRequest request = new CreateSectionRequest() {
         Name = name,
         Code = code,
         Description = description,
         CourseOfferingId = courseOfferingId
     };
     CreateSectionResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, CreateSectionRequest, CreateSectionResponse>(
         m_service1_0, request, ( s, q ) => s.CreateSection( q ) );
     return response.Section;
 }
 public GroupInfo CreateGroup(
     string name, string code, RichTextInfo desc, Identifier grpTypeId, Identifier ownerId)
 {
     CreateGroupRequest request = new CreateGroupRequest() {
         Name = name,
         Code = code,
         Description = desc,
         GroupTypeId = grpTypeId,
         OwnerOrgUnitId = ownerId
     };
     CreateGroupResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, CreateGroupRequest, CreateGroupResponse>(
         m_service1_0, request, ( s, q ) => s.CreateGroup( q ) );
     return response.Group;
 }