예제 #1
0
        public int Commit()
        {
            if (_disposed)
            {
                throw new ObjectDisposedException(this.GetType().FullName);
            }

            return(_masterChefeContext.SaveChanges());
        }
예제 #2
0
 public void Atualizar(Comentarios entity)
 {
     _context.Entry(entity).State = EntityState.Modified;
     _context.SaveChanges();
 }
예제 #3
0
 public void Atualizar(ReceitaPontuacao entity)
 {
     _context.Entry(entity).State = EntityState.Modified;
     _context.SaveChanges();
 }
예제 #4
0
 public void Atualizar(Ingredientes entity)
 {
     _context.Entry(entity).State = EntityState.Modified;
     _context.SaveChanges();
 }