Exemplo n.º 1
0
 public TripsController(ApplicationDbContext data,
                        IValidator validator,
                        IUserTripService userTripService,
                        ITripService tripService)
 {
     this.data            = data;
     this.validator       = validator;
     this.userTripService = userTripService;
     this.tripService     = tripService;
 }
Exemplo n.º 2
0
 public TripsController(ITripsService tripsService, IUserTripService userTripService)
 {
     this.tripsService    = tripsService;
     this.userTripService = userTripService;
 }
Exemplo n.º 3
0
 public TripsService(ApplicationDbContext db, IUserTripService userTripService)
 {
     this.db = db;
     this.userTripService = userTripService;
 }