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

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