public async Task <List <UserEventDto> > GetEventsAsync(string userId)
        {
            var result = _userEventRepository.GetEvents(userId);
            var events = result.Entity.ToList();

            return(_mapper.Map <ICollection <UserEvent>, List <UserEventDto> >(events));
        }