Beispiel #1
0
        public IActionResult BrandListJson(string brand)
        {
            var sameBrandOfCars = SpringBootAppService.GetBrandListForUser(brand);

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