Beispiel #1
0
 public IActionResult FillCities(int id)
 {
     return(Ok(_adressService.GetCities(id)));
 }
Beispiel #2
0
        public JsonResult GetCities(int stateId)
        {
            var cities = new SelectList(_adressService.GetCities(stateId), "Id", "Description");

            return(Json(cities));
        }