public StopsController(IWorldRespository repository, ILogger <StopsController> logger,
                        GeoCoordsService coordsService)
 {
     _repository    = repository;
     _logger        = logger;
     _coordsService = coordsService;
 }
Exemple #2
0
        //private WorldContext _context; // <- Now using World Repository

        //public AppController(IMailService mailService, IConfigurationRoot config, WorldContext context)
        public AppController(IMailService mailService, IConfigurationRoot config, IWorldRespository repository,
                             ILogger <AppController> logger)
        {
            _mailService = mailService;
            _config      = config;
            //_context = context;
            _repository = repository;
            _logger     = logger;
        }
 public TripsController(IWorldRespository repository, ILogger <TripsController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }