public ResultModel deleteGoods([FromBody] Goods goods) { ResultModel res = new ResultModel(); if (GoodsService.DeleteUser(goods.ID)) { res.status = "200"; } else { res.status = "500"; } return(res); }
public ResultModel deleteGoods([FromBody] Goods goods) { ResultModel res = new ResultModel(); if (GoodsService.DeleteUser(goods.ID)) { res.status = "200"; } else { res.status = "500"; } return(res); }