}
@Override
public EventDetails getEventDetails(String eventId) {
Event event = eventRepository.findOne(eventId);
EventDetails eventDetails = EventDetails.forEvent(event);
populateUsers(eventDetails.getMembers(), event.getMemberIds());
populateUsers(eventDetails.getAdmins(), event.getAdminIds());
return eventDetails;
}