public UploadDocumentViewModel UploadDocument(uploadRequest uploadRequest)
 {
     object[] results = this.Invoke("UploadDocument", new object[] {
         uploadRequest
     });
     return((UploadDocumentViewModel)(results[0]));
 }
 /// <remarks/>
 public void UploadDocumentAsync(uploadRequest uploadRequest, object userState)
 {
     if ((this.UploadDocumentOperationCompleted == null))
     {
         this.UploadDocumentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadDocumentOperationCompleted);
     }
     this.InvokeAsync("UploadDocument", new object[] {
         uploadRequest
     }, this.UploadDocumentOperationCompleted, userState);
 }
 /// <remarks/>
 public void UploadDocumentAsync(uploadRequest uploadRequest)
 {
     this.UploadDocumentAsync(uploadRequest, null);
 }