Esempio n. 1
0
 public IActionResult GetSubCategories(int categoryid)
 {
     try
     {
         return(Ok(_repo.GetSubCategories(categoryid)));
     }
     catch (Exception e)
     {
         return(NotFound(e.InnerException.Message));
     }
 }