public IActionResult Get()
 {
     try
     {
         return(Ok(_brandCategoryService.GetAll()));
     }
     catch (Exception)
     {
         return(BadRequest("Brand not found"));
     }
 }
示例#2
0
 public IActionResult Get()
 {
     return(Ok(_brandCategoryService.GetAll()));
 }