async public Task <GoodsInfo> AddGoodsAsync(GoodsInfo item) { item.Category_id = this.Id; return(await BLL.Goods.InsertAsync(item)); }
public GoodsInfo AddGoods(GoodsInfo item) { item.Category_id = this.Id; return(BLL.Goods.Insert(item)); }
public Goods_tagInfo UnflagGoods(GoodsInfo Goods) => UnflagGoods(Goods.Id);
async public Task <Goods_tagInfo> UnflagGoodsAsync(GoodsInfo Goods) => await UnflagGoodsAsync(Goods.Id);
public Goods_tagInfo FlagGoods(GoodsInfo Goods) => FlagGoods(Goods.Id);