Beispiel #1
0
 public bool UpdateProductAttr(string attrID, string attrName, string description, string operateIP, string operateID,string clientid)
 {
     var dal = new ProductsDAL();
     var bl = dal.UpdateProductAttr(attrID, attrName, description);
     if (bl)
     {
         var model = GetProductAttrByID(attrID, clientid);
         model.AttrName = attrName;
         model.Description = description;
     }
     return bl;
 }
Beispiel #2
0
 /// <summary>
 /// 编辑属性信息
 /// </summary>
 /// <param name="attrID">属性ID</param>
 /// <param name="attrName">属性名称</param>
 /// <param name="description">描述</param>
 /// <param name="operateIP">操作IP</param>
 /// <param name="operateID">操作人</param>
 /// <returns></returns>
 public bool UpdateProductAttr(string attrID, string attrName, string description, string operateIP, string operateID)
 {
     var dal = new ProductsDAL();
     return dal.UpdateProductAttr(attrID, attrName, description);
 }