public MapController(
     ILogger <PointInteretController> logger,
     IPointInteretRepository repository
     )
 {
     _pointinteretRepo = repository;
 }
        public PointInteretController(
            ILogger <PointInteretController> logger,
            IPointInteretRepository repository,
            ICategorieRepository categorieRepo,
            ICommuneRepository communeRepo,
            IAdresseRepository adresseRepo)

            : base(logger, repository)
        {
            _categorieRepo = categorieRepo;
            _communeRepo   = communeRepo;
            _adresseRepo   = adresseRepo;
        }
Пример #3
0
 public SeedData(
     ApplicationDbContext context,
     ILogger <SeedData> logger,
     ICityRepository cityRepository,
     IPersonRepository personRepository,
     ICommuneRepository communeRepository,
     ICategorieRepository categorieRepository,
     IPointInteretRepository pointInteretRepository,
     IAdresseRepository adresseRepository,
     IDepartementRepository departementRepository)
 {
     _context                = context;
     _logger                 = logger;
     _cityRepository         = cityRepository;
     _personRepository       = personRepository;
     _communeRepository      = communeRepository;
     _categorieRepository    = categorieRepository;
     _pointInteretRepository = pointInteretRepository;
     _adresseRepository      = adresseRepository;
     _departementRepository  = departementRepository;
 }