public BookingLogic(IBookingRepository bookingRepository, IAccommodationRepository accommodationRepository, ITouristRepository touristRepository, ITouristicSpotRepository touristicSpotRepository) { this.bookingRepository = bookingRepository; this.accommodationRepository = accommodationRepository; this.touristRepository = touristRepository; this.touristicSpotRepository = touristicSpotRepository; }
public TouristService(ITouristRepository touristRepository, IMapper mapper) { _mapper = mapper; _touristRepository = touristRepository; }
public ClientService(ILogger <ClientService> logger, ITouristRepository touristRepository, IMapper mapper) { _logger = logger; _touristRepository = touristRepository; _mapper = mapper; }
public CountryController(ITouristRepository TouristRepository, ICountryRepository CountryRepository) { this.touristRepository = TouristRepository; this.countryRepository = CountryRepository; }