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;
 }
Example #2
0
 /// <remarks/>
 public void CreateSelectBoxGradeItemAsync(CreateSelectBoxGradeItemRequest CreateSelectBoxGradeItemRequest)
 {
     this.CreateSelectBoxGradeItemAsync(CreateSelectBoxGradeItemRequest, null);
 }
Example #3
0
 /// <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);
 }
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginCreateSelectBoxGradeItem(CreateSelectBoxGradeItemRequest CreateSelectBoxGradeItemRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateSelectBoxGradeItem", new object[] {
                 CreateSelectBoxGradeItemRequest}, callback, asyncState);
 }