public IActionResult GetByBrandId(int brandId) { var result = _brandManager.GetByBrandId(brandId); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }