示例#1
0
 public async Task <List <MunicipalityDTO> > GetAll()
 {
     return(await _municipalityService.GetAll());
 }
示例#2
0
 public IActionResult GetAll()
 {
     return(Ok(_municipalityService.GetAll()));
 }
示例#3
0
        public IActionResult GetAll()
        {
            var regions = _municipalityService.GetAll();

            return(Ok(regions));
        }
示例#4
0
 // GET: Municipality
 public async Task <IActionResult> Index()
 {
     return(View(await _service.GetAll()));
 }