Ejemplo n.º 1
0
 public HomeController(INationalParkRepository npRepo, ITrailRepository trailRepo,
                       IAccountRepository accountRepo)
 {
     _npRepo      = npRepo;
     _trailRepo   = trailRepo;
     _accountRepo = accountRepo;
 }
Ejemplo n.º 2
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository nationalParkRepository, ITrailRepository trailRepository, IAccountRepository accountRepository)
 {
     _logger = logger;
     _nationalParkRepository = nationalParkRepository;
     _trailRepository        = trailRepository;
     _accountancyRepository  = accountRepository;
 }
Ejemplo n.º 3
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository nationalParkRepository, ITrailRepository trailRepository, IAccountRepository accountRepository)
 {
     _logger = logger;
     this.nationalParkRepository = nationalParkRepository;
     this.trailRepository        = trailRepository;
     this.accountRepository      = accountRepository;
 }
Ejemplo n.º 4
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo,
                       ITrailRepository trailRepo)
 {
     _npRepo    = npRepo;
     _trailRepo = trailRepo;
     _logger    = logger;
 }
Ejemplo n.º 5
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo, ITrailRepository npTrail, IAccountRepository accountRepository)
 {
     _logger      = logger;
     _npRepo      = npRepo;
     _npTrail     = npTrail;
     _AccountRepo = accountRepository;
 }
Ejemplo n.º 6
0
 public NationalParksController(
     INationalParkRepository npRepository,
     IMapper mapper)
 {
     _npRepository = npRepository;
     _mapper       = mapper;
 }
 public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo, ITrailRepository trailRepo, IAccountRepository userRepo)
 {
     _logger    = logger;
     _npRepo    = npRepo;
     _trailRepo = trailRepo;
     _userRepo  = userRepo;
 }
Ejemplo n.º 8
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository parks,
                       ITrailRepository trails, IAccountRepository account)
 {
     _logger  = logger;
     _parks   = parks;
     _trails  = trails;
     _account = account;
 }
Ejemplo n.º 9
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;
 }
Ejemplo n.º 10
0
 public HomeController(ILogger <HomeController> logger, INationalParkRepository npRepo,
                       ITrailRepository trailRepo, IAccountRepository accountRepository)
 {
     _npRepo            = npRepo;
     _trailRepo         = trailRepo;
     _logger            = logger;
     _accountRepository = accountRepository;
 }
 public NationalParksController(
     INationalParkRepository nationalParkRepository,
     IMapper mapper
     )
 {
     this.nationalParkRepository = nationalParkRepository;
     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;

            // ------------------------
        }
Ejemplo n.º 13
0
 public NationalParksController(INationalParkRepository parkRepository)
 {
     _parkRepository = parkRepository;
 }
Ejemplo n.º 14
0
 public TrailsController(INationalParkRepository parkRepository, ITrailRepository trailRepository)
 {
     _parkRepository  = parkRepository;
     _trailRepository = trailRepository;
 }
Ejemplo n.º 15
0
 public HomeController(INationalParkRepository nationalParkRepository)
 {
     _nationalParkRepository = nationalParkRepository;
 }
Ejemplo n.º 16
0
 public TrailController(INationalParkRepository npRepository, ITrailRepository tRepository)
 {
     _npRepository = npRepository;
     _tRepository  = tRepository;
 }
Ejemplo n.º 17
0
 public TrailsController(ITrailRepository trailRepository,
                         INationalParkRepository nationalParkRepository)
 {
     _trailRepository        = trailRepository;
     _nationalParkRepository = nationalParkRepository;
 }
Ejemplo n.º 18
0
 public TrailsController(INationalParkRepository npRepo, ITrailRepository trailRepo)
 {
     _npRepo    = npRepo;
     _trailRepo = trailRepo;
 }
Ejemplo n.º 19
0
 public TrailController(INationalParkRepository nationalPark, ITrailRepository trailRepository)
 {
     _nationalPark    = nationalPark;
     _trailRepository = trailRepository;
 }
Ejemplo n.º 20
0
 public NationalParkController(INationalParkRepository npRepository)
 {
     _npRepository = npRepository;
 }
Ejemplo n.º 21
0
 public TrailsController(INationalParkRepository npRepo, ITrailRepository npTrail)
 {
     _npRepo  = npRepo;
     _npTrail = npTrail;
 }
Ejemplo n.º 22
0
 public TrailsController(ITrailRepository trailRepository, INationalParkRepository nationalParkRepository)
 {
     this.trailRepository        = trailRepository;
     this.nationalParkRepository = nationalParkRepository;
 }
 public NationalParksController(INationalParkRepository nationalParkRepository, IConfiguration configuration)
 {
     _npRepo = nationalParkRepository;
     _confg  = configuration;
     _npUrl  = _confg.GetSection("APIConstants").GetSection("NationalParkAPIPath").Value;
 }
Ejemplo n.º 24
0
 public NationalParksController(INationalParkRepository nationalParkRepository)
 {
     this.nationalParkRepository = nationalParkRepository;
 }
 public NationalParksController(INationalParkRepository npRepo)
 {
     _npRepo = npRepo;
 }
Ejemplo n.º 26
0
 public NationContoller(IMapper newParky, INationalParkRepository nationalPark)
 {
     _newParky = newParky;
     _npRepo   = nationalPark;
 }
Ejemplo n.º 27
0
 public NationalParksController(INationalParkRepository npRepo, IMapper mapper)
 {
     this._mapper = mapper;
     this._npRepo = npRepo;
 }
Ejemplo n.º 28
0
 public NationalParkController(INationalParkRepository nationalParkRepository, IMapper mapper)
 {
     _repo   = nationalParkRepository;
     _mapper = mapper;
 }
 public NationalParksController(INationalParkRepository nationalParkRepo, IMapper mapper)
 {
     _nationalParkRepo = nationalParkRepo;
     _mapper           = mapper;
 }
Ejemplo n.º 30
0
 public NationalParkV2Controller(INationalParkRepository parkRepository, IMapper mapper)
 {
     _parkRepository = parkRepository;
     _mapper         = mapper;
 }