public async Task <List <MunicipalityDTO> > GetAll() { return(await _municipalityService.GetAll()); }
public IActionResult GetAll() { return(Ok(_municipalityService.GetAll())); }
public IActionResult GetAll() { var regions = _municipalityService.GetAll(); return(Ok(regions)); }
// GET: Municipality public async Task <IActionResult> Index() { return(View(await _service.GetAll())); }