Exemple #1
0
 private object[] OnEndGetById(System.IAsyncResult result)
 {
     Atento.Suite.Shared.Application.Dtos.CategoriaDto retVal = this.EndGetById(result);
     return(new object[] {
         retVal
     });
 }
Exemple #2
0
 public void UpdateAsync(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto, 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[] {
         categoriaDto
     }, this.onEndUpdateDelegate, this.onUpdateCompletedDelegate, userState);
 }
Exemple #3
0
 public void UpdateAsync(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto)
 {
     this.UpdateAsync(categoriaDto, null);
 }
Exemple #4
0
 private System.IAsyncResult OnBeginUpdate(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto = ((Atento.Suite.Shared.Application.Dtos.CategoriaDto)(inValues[0]));
     return(this.BeginUpdate(categoriaDto, callback, asyncState));
 }
Exemple #5
0
 public System.IAsyncResult BeginUpdate(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdate(categoriaDto, callback, asyncState));
 }
Exemple #6
0
 public bool Update(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto)
 {
     return(base.Channel.Update(categoriaDto));
 }
Exemple #7
0
 public int Create(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto)
 {
     return(base.Channel.Create(categoriaDto));
 }