示例#1
0
 public BookingLogic(IBookingRepository bookingRepository, IAccommodationRepository accommodationRepository, ITouristRepository touristRepository, ITouristicSpotRepository touristicSpotRepository)
 {
     this.bookingRepository       = bookingRepository;
     this.accommodationRepository = accommodationRepository;
     this.touristRepository       = touristRepository;
     this.touristicSpotRepository = touristicSpotRepository;
 }
示例#2
0
 public TouristService(ITouristRepository touristRepository, IMapper mapper)
 {
     _mapper            = mapper;
     _touristRepository = touristRepository;
 }
示例#3
0
 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;
 }