Beispiel #1
0
 private object[] OnEndGetById(System.IAsyncResult result)
 {
     Atento.Suite.Shared.Application.Dtos.PersonaDto retVal = this.EndGetById(result);
     return(new object[] {
         retVal
     });
 }
Beispiel #2
0
 public void UpdateAsync(Atento.Suite.Shared.Application.Dtos.PersonaDto personaDto, object userState)
 {
     if ((this.onBeginUpdateDelegate == null))
     {
         this.onBeginUpdateDelegate = new BeginOperationDelegate(this.OnBeginUpdate);
     }
     if ((this.onEndUpdateDelegate == null))
     {
         this.onEndUpdateDelegate = new EndOperationDelegate(this.OnEndUpdate);
     }
     if ((this.onUpdateCompletedDelegate == null))
     {
         this.onUpdateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateCompleted);
     }
     base.InvokeAsync(this.onBeginUpdateDelegate, new object[] {
         personaDto
     }, this.onEndUpdateDelegate, this.onUpdateCompletedDelegate, userState);
 }
Beispiel #3
0
 public System.IAsyncResult BeginUpdate(Atento.Suite.Shared.Application.Dtos.PersonaDto personaDto, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdate(personaDto, callback, asyncState));
 }
Beispiel #4
0
 public bool Update(Atento.Suite.Shared.Application.Dtos.PersonaDto personaDto)
 {
     return(base.Channel.Update(personaDto));
 }
Beispiel #5
0
 public int Create(Atento.Suite.Shared.Application.Dtos.PersonaDto personaDto)
 {
     return(base.Channel.Create(personaDto));
 }
Beispiel #6
0
 public void UpdateAsync(Atento.Suite.Shared.Application.Dtos.PersonaDto personaDto)
 {
     this.UpdateAsync(personaDto, null);
 }
Beispiel #7
0
 private System.IAsyncResult OnBeginUpdate(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Atento.Suite.Shared.Application.Dtos.PersonaDto personaDto = ((Atento.Suite.Shared.Application.Dtos.PersonaDto)(inValues[0]));
     return(this.BeginUpdate(personaDto, callback, asyncState));
 }