public CarAdsController( ICarAdService carAds, ICarAdViewService carAdViews, IMapper mapper) { this.carAds = carAds; this.carAdViews = carAdViews; this.mapper = mapper; }
public CarAdsController( ICarAdService carAds, IDealerService dealers, ICategoryService categories, IManufacturerService manufacturers, ICurrentUserService currentUser) { this.carAds = carAds; this.dealers = dealers; this.categories = categories; this.manufacturers = manufacturers; this.currentUser = currentUser; }
public CarAdsController( ICarAdService carAds, IDealerService dealers, ICategoryService categories, IManufacturerService manufacturers, IFullTextSearch fullTextSearch, ICurrentUserService currentUser, ILogger <CarAdsController> logger) { this.carAds = carAds; this.dealers = dealers; this.categories = categories; this.manufacturers = manufacturers; this.currentUser = currentUser; this.fullTextSearch = fullTextSearch; logger.LogError("Error!"); }