public async Task <Orden> AddAsync(Orden entity)
        {
            await _dbContext.orden.AddAsync(entity);

            await _dbContext.SaveChangesAsync();

            return(entity);
        }
        public async Task <Canasta> AddAsync(Canasta entity)
        {
            await _dbContext.canasta.AddAsync(entity);

            await _dbContext.SaveChangesAsync();

            return(entity);
        }
Esempio n. 3
0
 public async Task ConfirmarAsync()
 {
     await _dbContext.SaveChangesAsync();
 }