Beispiel #1
0
 /// <remarks/>
 public void updateAccountNoteAsync(updateAccountNoteRequest updateAccountNoteRequest) {
     this.updateAccountNoteAsync(updateAccountNoteRequest, null);
 }
Beispiel #2
0
 /// <remarks/>
 public void updateAccountNoteAsync(updateAccountNoteRequest updateAccountNoteRequest, object userState) {
     if ((this.updateAccountNoteOperationCompleted == null)) {
         this.updateAccountNoteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnupdateAccountNoteOperationCompleted);
     }
     this.InvokeAsync("updateAccountNote", new object[] {
                 updateAccountNoteRequest}, this.updateAccountNoteOperationCompleted, userState);
 }
Beispiel #3
0
 /// <summary>
 /// Modify a note to a specific donor account
 /// </summary>
 /// <param name="id">Account Id</param>
 /// <param name="type">Type of note</param>
 /// <param name="note">Stirng</param>
 public void UpdateNote(string id, string type, string note,int noteId)
 {
     var port = Models.Util.Port();
     accountNote insNotes = new accountNote();
     insNotes.noteId = noteId;
     insNotes.accountId = int.Parse(id);
     insNotes.note = HttpContext.Current.User.Identity.Name + " wrote: " + note;
     insNotes.noteType = type;
     insNotes.addDate = DateTime.Now;
     insNotes.nextActionNote = "NULL";
     insNotes.addUserId = 18;
     insNotes.modifiedDate = DateTime.Now;
     insNotes.modifiedUserId = 18;
     insNotes.nextDate = DateTime.Now;
     updateAccountNoteRequest insNotesInf = new updateAccountNoteRequest();
     insNotesInf.accountNote = insNotes;
     var account = port.updateAccountNote(insNotesInf);
 }