public HomeController(ICarousel carouselService, IProduct productService, INewsService newsService, ISuccess successService, IndexAdvantageIDAL advantageService, IndexMainBusinessIDAL mainbussinessService) { _carouselService = carouselService; _productService = productService; _newsService = newsService; _successService = successService; _advantageService = advantageService; _mainbussinessService = mainbussinessService; }
public ProductController(IProduct product, IndexAdvantageIDAL advantageService, IFriendlyLink friendlylinkservice) { _product = product; _advantageService = advantageService; _friendlylinkservice = friendlylinkservice; }