예제 #1
0
 public IActionResult GetCategoriesForHomeIndex()
 {
     try
     {
         return(Ok(GetCategories(categoryBLL.GetLatestSix().Data)));
     }
     catch (Exception ex)
     {
         return(NotFound(ex));
     }
 }