public ReturnState SetGoodsInfoStatusById(int id, string status) { return(MarketOperator.SetGoodsInfoStatusById(id, MarketOperator.IndexOfSaleStatus(status)) ? ReturnState.ReturnOK : ReturnState.ReturnError); }
public ReturnState SetGoodsInfoSaleStatusAndBuyerById(int id, string status, string buyer) { return(MarketOperator.SetGoodsInfoSaleStatusAndBuyerById(id, MarketOperator.IndexOfSaleStatus(status), buyer) ? ReturnState.ReturnOK : ReturnState.ReturnError); }
public List <GoodsInfo> GetGoodsInfoByStatus(string status) { return(MarketOperator.GetGoodsInfoListBySaleStatus(MarketOperator.IndexOfSaleStatus(status))); }