Exemple #1
0
        public int CreateCategory(string name)
        {
            ValidateName(name);

            var categoryDal = new CategoryDal();

            return(categoryDal.CreateCategory(name));
        }