public void Load(TenantInformation currentTenant, GetCurrentLoginInformationsOutput loginInfo) { CurrentTenant = currentTenant; LoginInfo = loginInfo; }
public void SetAsTenant([NotNull] string tenancyName, int tenantId) { Check.NotNull(tenancyName, nameof(tenancyName)); CurrentTenant = new TenantInformation(tenancyName, tenantId); }