public AccomodationController(IConfiguration configuration, IAccomodationRepository accomodationRepository, IProductRepository productRepository, IOptions <MongoSettings> settings) { _configuration = configuration; _accomodationRepository = accomodationRepository; _productRepository = productRepository; _MongoContext = new MongoContext(settings); }
public AccomodationService(IAccomodationRepository accomodationRepository, IStudentRepository studentRepository, ICollegeRepository collegeRepository, ICollegeTimeRepository collegeTimeRepository) { _accomodationRepository = accomodationRepository; _studentRepository = studentRepository; _collegeRepository = collegeRepository; _collegeTimeRepository = collegeTimeRepository; }
public AccomodationController( IAccomodationRepository repoAccomodation, ILogger <AccomodationController> logger) { _logger = logger; _repoAccomodation = repoAccomodation; }
public PhotoController(IHostingEnvironment hostingEnvironment, ICityRepository cityRepository, IAccomodationRepository accomodationRepository, IAttractionRepository attractionRepository, IOffertRespository offertRespository) { _hostingEnvironment = hostingEnvironment; _cityRepository = cityRepository; _accomodationRepository = accomodationRepository; _attractionRepository = attractionRepository; _offertRespository = offertRespository; }
public CatalogController( ITripRepository repoTrip, IAccomodationRepository repoAccomodation, IActivityRepository repoActivity, ICommentRepository repoComment, ICityRepository repoCity, ILogger <CatalogController> logger) { _logger = logger; _repoTrip = repoTrip; _repoAccomodation = repoAccomodation; _repoActivity = repoActivity; _repoComment = repoComment; _repoCity = repoCity; }
public CulturalExchangeService(ICulturalExchangeRepository culturalExchangeRepository, ICollegeRepository collegeRepository, ICollegeTimeRepository collegeTimeRepository, IAccomodationRepository accomodationRepository, IStudentRepository studentRepository, ICulturalExchangeFileUploadRepository culturalExchangeFileUploadRepository, IReceivePaymentCulturalExchangeRepository receivePaymentCulturalExchangeRepository) { _culturalExchangeRepository = culturalExchangeRepository; _collegeRepository = collegeRepository; _collegeTimeRepository = collegeTimeRepository; _accomodationRepository = accomodationRepository; _studentRepository = studentRepository; _culturalExchangeFileUploadRepository = culturalExchangeFileUploadRepository; _receivePaymentCulturalExchangeRepository = receivePaymentCulturalExchangeRepository; }
public AccomodationController(IUnitOfWork unitOfWork, IAccomodationRepository accomodationRepository) { _unitOfWork = unitOfWork; _accomodationRepository = accomodationRepository; }
public CulturalExchangeValidateAccomodationDateAvailable(IAccomodationRepository accomodationRepository) { _accomodationRepository = accomodationRepository; }