public TripServices() : base() { _tripRepository = new TripRepository(); _potRepository = new PotRepository(); _participantRepository = new TripParticipantRepository(); _userTripRepository = new UserTripRepository(); _potUserRepository = new PotUserRepository(); }
public TripServices(ITripRepository tripRepo, IPotRepository potRepo, ITripParticipantRepository participantRepo, IUserTripRepository userTripRepo, IPotUserRepository potUserRepo) : base() { _tripRepository = tripRepo; _potRepository = potRepo; _participantRepository = participantRepo; _userTripRepository = userTripRepo; _potUserRepository = potUserRepo; }
public DeleteTripParticipantCommandHandler(ITripParticipantRepository tripParticipantRepository) { _tripParticipantRepository = tripParticipantRepository; }
public AddTripParticipantCommandHandler(ITripParticipantRepository tripParticipantRepository, IUserRepository userRepository, ITripsRepository tripsRepository) { _tripParticipantRepository = tripParticipantRepository; _userRepository = userRepository; _tripsRepository = tripsRepository; }