Esempio n. 1
0
        public void AddSubCategory(SubCategoryViewModel model)
        {
            var subCategory = new SubCategory()
            {
                Name = model.Name,
                Id   = model.Id,
            };

            _subCategoryRepository.AddCategory(subCategory);
        }