コード例 #1
0
 public IActionResult GetBrandByName(string name)
 {
     try
     {
         return(Ok(_brandServices.GetBrandByName(name)));
     }
     catch (Exception)
     {
         return(StatusCode(500));
     }
 }