public FlyerController(IFlyerRepository flyerRepository, IProductRepository productRepository, ICategoryRepository categoryReposity, IMerchantRepository merchantRepository, IFlyerCategoryRepository flyerCategoryRepository, IMapper mapper) { _flyerRepository = flyerRepository; _productRepository = productRepository; _categoryReposity = categoryReposity; _merchantRepository = merchantRepository; _flyerCategoryRepository = flyerCategoryRepository; _mapper = mapper; }
public FlyerCategoryViewComponent(IFlyerCategoryRepository flyerCategoryRepository, IMapper mapper) { _flyerCategoryRepository = flyerCategoryRepository; _mapper = mapper; }