Example #1
0
        public void UpdateBrand(UpdateBrandInput input)
        {
            var brand = _brandRepository.Get(input.Id);

            brand.BrandCode = input.BrandCode;
            brand.BrandName = input.BrandName;
            brand.BrandType = input.BrandType;

            _brandRepository.Update(brand);
        }
Example #2
0
 public ActionResult Edit(UpdateBrandInput modle)
 {
     this.Service.Update(modle);
     return(this.SuccessMsg("编辑成功"));
 }