public async Task AddInviteEmailAsync(string senderId, string email, int eventId)
        {
            var result = await _userEventRepository.AddInviteEmailAsync(eventId, senderId, email);

            switch (result.Status)
            {
            case RepositoryStatus.Created:
                return;

            case RepositoryStatus.NotFound:
                throw new ServiceException(ErrorCodes.EntityNotFound);

            case RepositoryStatus.BadRequest:
                throw new ServiceException(ErrorCodes.BadRequest);

            default: throw new ServiceException(ErrorCodes.DatabaseError);
            }
        }