示例#1
0
 /// <summary>
 /// Creates new category for the logged in user.
 /// </summary>
 /// <returns>Returns true, if the new category is saved to the database.</returns>
 public bool Create()
 {
     SelectedCategory.Category.Create(SelectedCategory.Category.CategoryDirections);
     return(SelectedCategory.Create(MainViewModel.CurrentUser, SelectedCategory.Category));
 }