public bool UpdateProductAttr(string attrID, string attrName, string description, string operateIP, string operateID) { var dal = new ProductsDAL(); var bl = dal.UpdateProductAttr(attrID, attrName, description); if (bl) { var model = GetAttrByID(attrID); model.AttrName = attrName; model.Description = description; } return bl; }