public IActionResult GetBrandById(int id) { try { return(Ok(_brandServices.GetBrandById(id))); } catch (Exception) { return(StatusCode(500)); } }