/// <summary> /// 加载产品讨论 /// </summary> /// <param name="sysNo"></param> public virtual ProductDiscussDetail LoadProductDiscuss(int sysNo) { ProductDiscussDetail item = productDiscussDA.LoadProductDiscuss(sysNo); item.ProductDiscussReplyList = productDiscussDA.GetProductDiscussReply(sysNo); return(item); }
/// <summary> /// 编辑产品讨论 /// </summary> /// <param name="item"></param> public virtual void EditProductDiscuss(ProductDiscussDetail item) { productDiscussDA.EditProductDiscuss(item); }
/// <summary> /// 只有在网站登录账户且有权限才能发表 /// </summary> /// <param name="item"></param> public virtual void CreateProductDiscuss(ProductDiscussDetail item) { productDiscussDA.CreateProductDiscuss(item); }
/// <summary> /// 编辑产品讨论 /// </summary> /// <param name="item"></param> public virtual void EditProductDiscuss(ProductDiscussDetail item) { ObjectFactory <ProductDiscussProcessor> .Instance.EditProductDiscuss(item); }
/// <summary> /// 添加产品讨论 /// </summary> /// <param name="filter"></param> /// <param name="callback"></param> //public void CreateProductDiscuss(ProductDiscussDetail item, EventHandler<RestClientEventArgs<dynamic>> callback) //{ // string relativeUrl = "/MKTService/CommentInfo/CreateProductDiscuss"; // restClient.Create(relativeUrl, item, callback); //} /// <summary> /// 编辑产品讨论 /// </summary> /// <param name="filter"></param> /// <param name="callback"></param> public void EditProductDiscuss(ProductDiscussDetail item, EventHandler <RestClientEventArgs <dynamic> > callback) { string relativeUrl = "/MKTService/CommentInfo/EditProductDiscuss"; restClient.Update(relativeUrl, item, callback); }
public void EditProductDiscuss(ProductDiscussDetail item) { productDiscussAppService.EditProductDiscuss(item); }
/// <summary> /// 编辑产品讨论 /// </summary> /// <param name="item"></param> public virtual void EditProductDiscuss(ProductDiscussDetail item) { throw new BizException(""); }
/// <summary> /// 只有在网站登录账户且有权限才能发表 /// </summary> /// <param name="item"></param> public void CreateProductDiscuss(ProductDiscussDetail item) { throw new BizException(""); }