Exemplo n.º 1
0
 public AccomodationController(IConfiguration configuration, IAccomodationRepository accomodationRepository, IProductRepository productRepository, IOptions <MongoSettings> settings)
 {
     _configuration          = configuration;
     _accomodationRepository = accomodationRepository;
     _productRepository      = productRepository;
     _MongoContext           = new MongoContext(settings);
 }
Exemplo n.º 2
0
 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;
        }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 7
0
 public AccomodationController(IUnitOfWork unitOfWork, IAccomodationRepository accomodationRepository)
 {
     _unitOfWork             = unitOfWork;
     _accomodationRepository = accomodationRepository;
 }
 public CulturalExchangeValidateAccomodationDateAvailable(IAccomodationRepository accomodationRepository)
 {
     _accomodationRepository = accomodationRepository;
 }