public async Task <List <EventDto> > All(UserHelper requestingUser) { List <EventDto> events = await _eventDal.All(); if (events == null) { return(new List <EventDto>()); } // remove the uuid of the users foreach (var dbEvent in events.Where(dbEvent => dbEvent.AuthorUuid != requestingUser.Uuid)) { dbEvent.AuthorUuid = Guid.Empty; } return(events); }