コード例 #1
0
        public void Remove(int id)
        {
            var deletedCategory = _categoryDal.GetByDefault(x => x.Id == id);

            _categoryDal.Remove(deletedCategory);
        }