private object[] OnEndGetById(System.IAsyncResult result) { Atento.Suite.Shared.Application.Dtos.CategoriaDto retVal = this.EndGetById(result); return(new object[] { retVal }); }
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); }
public void UpdateAsync(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto) { this.UpdateAsync(categoriaDto, null); }
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)); }
public System.IAsyncResult BeginUpdate(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdate(categoriaDto, callback, asyncState)); }
public bool Update(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto) { return(base.Channel.Update(categoriaDto)); }
public int Create(Atento.Suite.Shared.Application.Dtos.CategoriaDto categoriaDto) { return(base.Channel.Create(categoriaDto)); }