public TravelogController(ITravelogRepository trepo, ICountryRepository crepo, ITravelersRepository urepo, IMapper mapper) { this._travelogRepository = trepo; this._countryRepository = crepo; this._travelersRepository = urepo; this._mapper = mapper; }
public TravelersController(ITravelersRepository repo, IMapper mapper) { this.travelersRepository = repo; this._mapper = mapper; }