public IHttpActionResult GetPersonAddress([FromUri] int participantId, [FromUri] bool shouldGetFullAddress) { return(Authorized(token => { try { var address = _finderService.GetPersonAddress(token, participantId, shouldGetFullAddress); return (Ok(address)); } catch (Exception e) { _logger.Error("Could not get address", e); var apiError = new ApiErrorDto("Get Address Failed", e); throw new HttpResponseException(apiError.HttpResponseMessage); } })); }