public async Task <IActionResult> GetHouses() { return(await ProcessAsync(async() => { var houses = await _houseService.GetHouses(); return Ok(houses); })); }
public ActionResult <List <House> > GetAllHouses() { var houses = _houseService.GetHouses(); return(Ok(houses)); }
public async Task <List <HouseGeoViewModel> > GetHouses() { var houses = await _houseService.GetHouses(); return(houses); }