Exemplo n.º 1
0
        public void AddSeat(int seatNr, bool isReserved)
        {
            var seat = new Seat
            {
                SeatNr     = seatNr,
                IsReserved = isReserved
            };

            seatContext.Add(seat);
        }
Exemplo n.º 2
0
 public void Add(ISeat seat)
 {
     _context.Add(seat);
 }