public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo, ITrailRepository trailRepo, IAccountRepository userRepo)
 {
     _logger    = logger;
     _npRepo    = npRepo;
     _trailRepo = trailRepo;
     _userRepo  = userRepo;
 }
Esempio n. 2
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository nationalParkRepository, ITrailRepository trailRepository, IAccountRepository accountRepository)
 {
     _logger = logger;
     _nationalParkRepository = nationalParkRepository;
     _trailRepository        = trailRepository;
     _accountancyRepository  = accountRepository;
 }
 public TrailsController(
     ITrailRepository trailRepository,
     IMapper mapper)
 {
     _trailRepository = trailRepository;
     _mapper          = mapper;
 }
Esempio n. 4
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo,
                       ITrailRepository trailRepo)
 {
     _npRepo    = npRepo;
     _trailRepo = trailRepo;
     _logger    = logger;
 }
Esempio n. 5
0
 public TrailService(
     ITrailRepository repository, ITrailTypeService trailTypeService, IMapper mapper)
 {
     _repository       = repository;
     _trailTypeService = trailTypeService;
     _mapper           = mapper;
 }
Esempio n. 6
0
 public HomeController(ILogger <HomeController> logger, ICampingParkRepository cpRepo, ITrailRepository tRepo, IAccountRepository accRepo)
 {
     _logger  = logger;
     _cpReo   = cpRepo;
     _tRepo   = tRepo;
     _accRepo = accRepo;
 }
Esempio n. 7
0
 public HomeController(INationalParkRepository npRepo, ITrailRepository trailRepo,
                       IAccountRepository accountRepo)
 {
     _npRepo      = npRepo;
     _trailRepo   = trailRepo;
     _accountRepo = accountRepo;
 }
Esempio n. 8
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo, ITrailRepository npTrail, IAccountRepository accountRepository)
 {
     _logger      = logger;
     _npRepo      = npRepo;
     _npTrail     = npTrail;
     _AccountRepo = accountRepository;
 }
Esempio n. 9
0
 public TrailsController(ITrailRepository repository,
                         ILogger <TrailsController> logger, IMapper mapper)
 {
     this.repository = repository;
     this.logger     = logger;
     this.mapper     = mapper;
 }
Esempio n. 10
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository nationalParkRepository, ITrailRepository trailRepository, IAccountRepository accountRepository)
 {
     _logger = logger;
     this.nationalParkRepository = nationalParkRepository;
     this.trailRepository        = trailRepository;
     this.accountRepository      = accountRepository;
 }
Esempio n. 11
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo,
                       ITrailRepository trailRepo, IAccountRepository accountRepository)
 {
     _npRepo            = npRepo;
     _trailRepo         = trailRepo;
     _logger            = logger;
     _accountRepository = accountRepository;
 }
Esempio n. 12
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository parks,
                       ITrailRepository trails, IAccountRepository account)
 {
     _logger  = logger;
     _parks   = parks;
     _trails  = trails;
     _account = account;
 }
Esempio n. 13
0
 public TrailsController(INationalParkRepository nationalParkRepository, ITrailRepository trailRepository, IConfiguration configuration)
 {
     _trailRepo = trailRepository;
     _npRepo    = nationalParkRepository;
     _confg     = configuration;
     _trailUrl  = _confg.GetSection("APIConstants").GetSection("TrailAPIPath").Value;
     _npUrl     = _confg.GetSection("APIConstants").GetSection("NationalParkAPIPath").Value;
 }
Esempio n. 14
0
 public TrailsController(
     ITrailRepository trailRepository,
     IMapper mapper
     )
 {
     this.trailRepository = trailRepository;
     this.mapper          = mapper;
 }
        // ------------------------

        public HomeController(ILogger <HomeController> logger, INationalParkRepository nationalParkRepository, ITrailRepository trailRepository, IConfiguration configuration)
        {
            _logger = logger;

            // 11. Part 2
            // ------------------------

            _trailRepo = trailRepository;
            _npRepo    = nationalParkRepository;
            _confg     = configuration;
            _trailUrl  = _confg.GetSection("APIConstants").GetSection("TrailAPIPath").Value;
            _npUrl     = _confg.GetSection("APIConstants").GetSection("NationalParkAPIPath").Value;

            // ------------------------
        }
Esempio n. 16
0
        public TouristInformationController(
            IAttractionRepository attractionRepository,
            IPartyRepository partyRepository,
            IShelterRepository shelterRepository,
            ITrailRepository trailRepository,
            IRegionRepository regionRepository,
            IConverter converter
            )
        {
            _attractionRepository = attractionRepository;
            _partyRepository      = partyRepository;
            _regionRepository     = regionRepository;
            _shelterRepository    = shelterRepository;
            _trailRepository      = trailRepository;

            _converter = converter;
        }
Esempio n. 17
0
 public TrailsController(ITrailRepository trailRepository,
                         INationalParkRepository nationalParkRepository)
 {
     _trailRepository        = trailRepository;
     _nationalParkRepository = nationalParkRepository;
 }
Esempio n. 18
0
 public TrailController(ITrailRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
Esempio n. 19
0
 public TrailsController(ITrailRepository trailRepo, IMapper mapper)
 {
     this._mapper    = mapper;
     this._trailRepo = trailRepo;
 }
 public TrailController(ITrailRepository repository, INationalParkApiRepository natpark)
 {
     _repository             = repository;
     _nationalParkRepository = natpark;
 }
Esempio n. 21
0
 public TrailController(INationalParkRepository npRepository, ITrailRepository tRepository)
 {
     _npRepository = npRepository;
     _tRepository  = tRepository;
 }
 public TrailController(ITrailRepository repo)
 {
     this._repo = repo;
     this._context = GlobalHost.ConnectionManager.GetHubContext<TrailHub>();
 }
Esempio n. 23
0
 public TrailController(INationalRepository nationalRepository, ITrailRepository trailRepository)
 {
     _nationalRepository = nationalRepository;
     _trailRepository    = trailRepository;
 }
Esempio n. 24
0
 public TrailsController(INationalParkRepository npRepo, ITrailRepository trailRepo)
 {
     _npRepo    = npRepo;
     _trailRepo = trailRepo;
 }
Esempio n. 25
0
 public TrailsController(INationalParkRepository parkRepository, ITrailRepository trailRepository)
 {
     _parkRepository  = parkRepository;
     _trailRepository = trailRepository;
 }
Esempio n. 26
0
 public TrailsController(IJobSearchRepository npRepo, ITrailRepository trailRepo)
 {
     _npRepo    = npRepo;
     _trailRepo = trailRepo;
 }
Esempio n. 27
0
 public TrailController(ITrailRepository trails)
 {
     Trails = trails;
 }
Esempio n. 28
0
 public TrailsController(ITrailRepository trailRepository, INationalParkRepository nationalParkRepository)
 {
     this.trailRepository        = trailRepository;
     this.nationalParkRepository = nationalParkRepository;
 }
Esempio n. 29
0
 public TrailsController(ITrailRepository tRepo, ICampingParkRepository cpRepo)
 {
     _tRepo  = tRepo;
     _cpRepo = cpRepo;
 }
Esempio n. 30
0
        //   C o n s t r u c t o r

        public TrailController(ITrailRepository repository, IPeakRepository peakRepository)
        {
            _repository     = repository;
            _peakRepository = peakRepository;
        }
Esempio n. 31
0
 public TrailsController(INationalParkRepository npRepo, ITrailRepository npTrail)
 {
     _npRepo  = npRepo;
     _npTrail = npTrail;
 }