コード例 #1
0
 public TripsController(ApplicationDbContext data,
                        IValidator validator,
                        IUserTripService userTripService,
                        ITripService tripService)
 {
     this.data            = data;
     this.validator       = validator;
     this.userTripService = userTripService;
     this.tripService     = tripService;
 }
コード例 #2
0
 public TripsController(ITripsService tripsService, IUserTripService userTripService)
 {
     this.tripsService    = tripsService;
     this.userTripService = userTripService;
 }
コード例 #3
0
 public TripsService(ApplicationDbContext db, IUserTripService userTripService)
 {
     this.db = db;
     this.userTripService = userTripService;
 }