public GoodsController(IAllGoods iAllGoods, IGoodsCategory iGoodsCategory) { _allGoods = iAllGoods; _allCategories = iGoodsCategory; }
public GoodsCategoryController([FromServices] IHostingEnvironment env, IGoodsCategory gc) { _webrootpath = env.WebRootPath; _goodsCategory = gc; }
public GoodsController(IGoods goods, IGoodsCategory categories) { _allGoods = goods; _allCategories = categories; }