public IActionResult BrandListJson(string brand) { var sameBrandOfCars = SpringBootAppService.GetBrandListForUser(brand); return(Json(new { result = "ok", data = sameBrandOfCars })); }
public IActionResult Brand(string brand) { return(View("Index", SpringBootAppService.GetBrandListForUser(brand))); }