//public async Task<ResponseDTO<HouseWithCoordinatesDTO>> Get([FromUri]GetHouseRequest getRequest)
        public async Task <ResponseDTO <HouseDTO> > Get([FromUri] GetHouseRequest getRequest)
        {
            var resp = await _houseApplicationService.GetHouseAsync(new GetHouseRequest { Id = getRequest.Id });

            return(resp);
        }
Exemplo n.º 2
0
 public async Task <IActionResult> Get(string houseId)
 {
     return(Success(await _houseApplicationService.GetHouseAsync(houseId)));
 }