public void DeleteBrand(BrandDto brandDto) { var brand = brandDto.MappingBrand(); brandRepository.Delete(brand); }
public void UpdateBrand(BrandDto brandDto) { var brand = brandDto.MappingBrand(); brandRepository.Update(brand); }
public void CreateBrand(BrandDto brandDto) { var brand = brandDto.MappingBrand(); brandRepository.Add(brand); }