Пример #1
0
        public void DeleteCategoryById(string id)
        {
            if (id is null)
            {
                throw new Exception("Id cannot be empty");
            }

            _taskCategoryRepository.DeleteCategoryById(id);
        }