示例#1
0
 /// <summary>
 /// 编辑一个品牌
 /// </summary>
 /// <param name="model"></param>
 public static void UpdateBrand(DTO.Brand model)
 {
     _brandService.UpdateBrand(model.Map <Model.BrandInfo>());
 }
示例#2
0
 /// <summary>
 /// 编辑一个品牌
 /// </summary>
 /// <param name="model"></param>
 public static void UpdateBrand(DTO.Brand model)
 {
     Service.UpdateBrand(model.Map <Entities.BrandInfo>());
 }
示例#3
0
 /// <summary>
 /// 添加一个品牌
 /// </summary>
 /// <param name="model"></param>
 public static void AddBrand(DTO.Brand model)
 {
     _brandService.AddBrand(model.Map <Model.BrandInfo>());
 }
示例#4
0
 /// <summary>
 /// 添加一个品牌
 /// </summary>
 /// <param name="model"></param>
 public static void AddBrand(DTO.Brand model)
 {
     Service.AddBrand(model.Map <Entities.BrandInfo>());
 }