public async Task RejectInvitationAsync(int inviteId, string receiverId)
        {
            var result = await _userEventRepository.RejectInvitationAsync(inviteId, receiverId);

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

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

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