public string CreateTenant(TenantViewModel model)
        {
            var tenant = new Tenant()
            {
                Id         = model.Id,
                Created    = model.Created,
                CreatedBy  = model.CreatedBy,
                Modified   = model.Modified,
                ModifiedBy = model.ModifiedBy,
                IsActive   = true,
                Active     = model.Active,

                EditionId        = model.EditionId,
                ConnectionString = model.ConnectionString,
                Name             = model.Name,
                TenancyName      = model.TenancyName,
                Url                  = model.Url,
                IsInTrialPeriod      = model.IsInTrialPeriod,
                SubscriptionEndTime  = model.SubscriptionEndTime,
                LogoId               = model.LogoId,
                LogoFilePath         = model.LogoFilePath,
                NoOfShowroom         = model.NoOfShowroom,
                Package              = model.Package,
                BonusUserAccessCount = 1
            };

            _tenantRepository.CreateAsHost(tenant);
            _tenantRepository.Commit();

            return(model.Id);
        }