public SelectBoxGradeItemInfo CreateSelectBoxGradeItem( Identifier orgUnitId, string name, Identifier gradeSchemeId) { CreateSelectBoxGradeItemRequest request = new CreateSelectBoxGradeItemRequest() { OrgUnitId = orgUnitId, Name = name, GradeSchemeId = gradeSchemeId }; CreateSelectBoxGradeItemResponse response = CallWebService<IGradesManagementServicev1_2, CreateSelectBoxGradeItemRequest, CreateSelectBoxGradeItemResponse>( m_service1_2, request, ( s, q ) => s.CreateSelectBoxGradeItem( q ) ); return response.GradeItem; }
/// <remarks/> public void CreateSelectBoxGradeItemAsync(CreateSelectBoxGradeItemRequest CreateSelectBoxGradeItemRequest) { this.CreateSelectBoxGradeItemAsync(CreateSelectBoxGradeItemRequest, null); }
/// <remarks/> public void CreateSelectBoxGradeItemAsync(CreateSelectBoxGradeItemRequest CreateSelectBoxGradeItemRequest, object userState) { if ((this.CreateSelectBoxGradeItemOperationCompleted == null)) { this.CreateSelectBoxGradeItemOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateSelectBoxGradeItemOperationCompleted); } this.InvokeAsync("CreateSelectBoxGradeItem", new object[] { CreateSelectBoxGradeItemRequest}, this.CreateSelectBoxGradeItemOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginCreateSelectBoxGradeItem(CreateSelectBoxGradeItemRequest CreateSelectBoxGradeItemRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateSelectBoxGradeItem", new object[] { CreateSelectBoxGradeItemRequest}, callback, asyncState); }