public BookingsController(ExploreCaliforniaContext context) : base(context) { _context = context; bookingGateway = new BookingGateway(context); }
public GeneralController(ExploreCaliforniaContext context) { db = context; dataGateway = new DataGateway <T>(context); }
public DataGateway(ExploreCaliforniaContext context) { this.db = context; this.data = db.Set <T>(); }
public TourGateway(ExploreCaliforniaContext context) : base(context) { this.db = context; }
public ToursController(ExploreCaliforniaContext context) : base(context) { //_context = context; tourGateway = new TourGateway(context); }
public BookingGateway(ExploreCaliforniaContext context) : base(context) { //this.db = context; }