public virtual async Task <TEntity> CreateAsync(TEntity entity, CancellationToken cancellationToken) { entity = await Store.CreateAsync(entity, cancellationToken); return(entity); }
/// <summary> /// Insere registros da tabela por entity /// </summary> public async Task <IEnumerable <TModel> > CreateAsync(params TModel[] entity) { return(await _store.CreateAsync(CancellationToken, entity)); }