Exemplo n.º 1
0
 public MeetingRoomsController(IBookingContext context)
 {
     db = context;
 }
 //If we wanted to to IoC or Unit Testing, etc. Maybe having it as interface is an overkill for such simple project.
 public BookingPersistenceService(IBookingContext db)
 {
     _dbContext = db;
 }
Exemplo n.º 3
0
 public Calculator(IBookingContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public InfoSearchEngine(IBookingContext context)
 {
     _context = context;
     Info     = new Info();
 }
Exemplo n.º 5
0
 public BookingService(ShowingService showingService, IBookingContext bookingContext)
 {
     _showingService = showingService;
     _bookingContext = bookingContext;
 }
Exemplo n.º 6
0
 public HomeRepository(IBookingContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemplo n.º 7
0
 public RoomRepository(IBookingContext bookingContext)
 {
     _bookingContext = bookingContext;
 }
 public BookingRepository(IBookingContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public ReservedSeatRepository(IBookingContext context)
 {
     _context = context;
 }
Exemplo n.º 10
0
 public PeopleRepository(IBookingContext context)
 {
     _context = context;
 }
Exemplo n.º 11
0
 public TicketRepository(IBookingContext context)
 {
     _context = context;
 }
Exemplo n.º 12
0
 public OrderRepository(IBookingContext context)
 {
     _context = context;
 }