示例#1
0
        public void UpdateCategory(Category c)
        {
            CategoryC inter = new CategoryC();

            inter.DeleteCategory(c.id);
            inter.InsertCategory(c);
        }
示例#2
0
        public void DeleteCategory(int Id)
        {
            CategoryC inter = new CategoryC();

            inter.DeleteCategory(Id);
        }