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