Пример #1
0
 /// <summary>
 /// Returns the categories list (for the main menu)
 /// </summary>
 /// <returns></returns>
 public ActionResult GetCategories()
 {
     return(Json(ProductsBL.GetAllCategories()));
 }
 /// <summary>
 /// Returns all categories
 /// </summary>
 public ActionResult GetAllCategories() => Json(ProductsBL.GetAllCategories());