public IHttpActionResult GetCampEventDetails(int eventId) { return(Authorized(token => { try { var campEventInfo = _campService.GetCampEventDetails(eventId); return Ok(campEventInfo); } catch (Exception exception) { var apiError = new ApiErrorDto("EventInfo", exception); throw new HttpResponseException(apiError.HttpResponseMessage); } })); }