Exemplo n.º 1
0
 public int SaveChanges()
 {
     return(Db.SaveChanges());
 }
Exemplo n.º 2
0
        public CommandResponse Commit()
        {
            var rowsAffected = _context.SaveChanges();

            return(new CommandResponse(rowsAffected > 0));
        }