Example #1
0
 /// <summary>
 /// 删除属性值
 /// </summary>
 /// <param name="attribute"></param>
 /// <returns></returns>
 public virtual async Task DeleteValueAsync(ProductAttributeValue attribute)
 {
     await ProductAttributeValueRepository.DeleteAsync(attribute);
 }
Example #2
0
 /// <summary>
 /// 添加属性值
 /// </summary>
 /// <param name="attribute"></param>
 public virtual async Task CreateValueAsync(ProductAttributeValue attribute)
 {
     await ProductAttributeValueRepository.InsertAsync(attribute);
 }