コード例 #1
0
 public BookingService(TourContext db, TourService tourService)
 {
     this._db          = db;
     this._tourService = tourService;
 }
コード例 #2
0
 public BookingService(TourContext db, TourService tourService)
 {
     this._db          = db;
     this._tourService = tourService;
     dbSet             = _db.Set <Tour>();
 }