private async Task <EventParticipant> GetParticipantAsync(Guid eventId, int userOrg, string userId) { var participant = await _eventParticipantsDbSet .Include(p => p.Event) .Include(p => p.Event.EventType) .Include(p => p.EventOptions) .Include(p => p.ApplicationUser) .SingleOrDefaultAsync(p => p.EventId == eventId && p.Event.OrganizationId == userOrg && p.ApplicationUserId == userId); _eventValidationService.CheckIfEventExists(participant); _eventValidationService.CheckIfParticipantExists(participant); return(participant); }