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