Пример #1
0
 /// <summary>
 /// Get all categories
 /// </summary>
 /// <returns></returns>
 public static CategoriesDTO AllCategories()
 {
     try
     {
         CategoriesDTO categories = CategoryData.AllCategories();
         return(categories);
     }
     catch (Exception)
     {
         return(null);
     }
 }