Ejemplo n.º 1
0
 public void AddNewCategory(IUserCategory category, TaskContext context)
 {
     category.Dispatcher.Invoke(() =>
     {
         var categoryName = RandomUtility.NextIdentifier();
         category.AddNewCategory(context.Authentication, categoryName);
     });
 }
Ejemplo n.º 2
0
 public void AddNewCategory()
 {
     category.AddNewCategory(authentication, RandomUtility.NextIdentifier());
 }