public HomeController(IDestinationRepo destinationRepo, IWebHostEnvironment webHostEnvironment, IConfiguration config) { _destinationRepo = destinationRepo; _webHostEnvironment = webHostEnvironment; _config = config; }
public DestinationsController(IDestinationRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }