public IHttpActionResult GetCampMedicalInfo(int eventId, int contactId) { return(Authorized(token => { try { var medicalInfo = _campService.GetCampMedicalInfo(eventId, contactId, token); return Ok(medicalInfo); } catch (Exception e) { var apiError = new ApiErrorDto("Failed to get medical info data", e); throw new HttpResponseException(apiError.HttpResponseMessage); } })); }