Esempio n. 1
0
 def UpdateCategory(self, category_id, category_name):
     category = Categories.UpdateCategory(self.user, category_id, 
         category_name)
     return category
Esempio n. 2
0
 def AddCategory(self, category_name):
     category = Categories.AddCategory(self.user, category_name)
     return category
Esempio n. 3
0
 def DeleteCategory(self, category_id):
     Categories.DeleteCategory(self.user, category_id)
Esempio n. 4
0
 def GetCategories(self):
     categories = Categories.GetCategories()
     return categories