public TripsController(ApplicationDbContext data, IValidator validator, IUserTripService userTripService, ITripService tripService) { this.data = data; this.validator = validator; this.userTripService = userTripService; this.tripService = tripService; }
public TripsController(ITripsService tripsService, IUserTripService userTripService) { this.tripsService = tripsService; this.userTripService = userTripService; }
public TripsService(ApplicationDbContext db, IUserTripService userTripService) { this.db = db; this.userTripService = userTripService; }