public void UpdateCategory(Category c) { CategoryC inter = new CategoryC(); inter.DeleteCategory(c.id); inter.InsertCategory(c); }
public void DeleteCategory(int Id) { CategoryC inter = new CategoryC(); inter.DeleteCategory(Id); }
public void UpdateCategory(Category c) { CategoryC inter = new CategoryC(); inter.DeleteCategory(c.id); inter.InsertCategory(c); }
public void DeleteCategory(int Id) { CategoryC inter = new CategoryC(); inter.DeleteCategory(Id); }