using System;
using JetBrains.Annotations;

namespace Volo.Abp.MultiTenancy
{
    public interface ICurrentTenant
    {
        bool IsAvailable { get; }

        [CanBeNull]
        Guid? Id { get; }

        IDisposable Change(Guid? id);
    }
}
