Example #1
0
        public void DeleteBrand(BrandDto brandDto)
        {
            var brand = brandDto.MappingBrand();

            brandRepository.Delete(brand);
        }
Example #2
0
        public void UpdateBrand(BrandDto brandDto)
        {
            var brand = brandDto.MappingBrand();

            brandRepository.Update(brand);
        }
Example #3
0
        public void CreateBrand(BrandDto brandDto)
        {
            var brand = brandDto.MappingBrand();

            brandRepository.Add(brand);
        }