public ProductController(IMapper mapper, IAppProductRepository appProductRepository) { _mapper = mapper; _appProductRepository = appProductRepository; }
public AppProductController(IAppProductRepository ir) => repo = ir;