public IEnumerable <string> Get(string eventId) { //var cp = User as ClaimsPrincipal; //var xxx = cp.Claims.Select(x => x.Type + ", " + x.Value); //var roles = cp.FindAll(ClaimTypes.Role); var email = User.Identity.Name; return(_attendeeRepository.Get(eventId, email)); }