Example #1
0
        public virtual async Task <TEntity> UpdateAsync(TEntity entity, CancellationToken cancellationToken)
        {
            entity = await Store.UpdateAsync(entity, cancellationToken);

            return(entity);
        }
Example #2
0
 /// <summary>
 /// Atualiza registros da tabela por entity
 /// </summary>
 public async Task <IEnumerable <TModel> > UpdateAsync(params TModel[] entity)
 {
     return(await _store.UpdateAsync(CancellationToken, entity));
 }