public string CreateTenantCompanySettings(string tenantId, Company company)
        {
            var            id             = Guid.NewGuid().ToString();
            CompanySetting companySetting = new CompanySetting
            {
                Active     = true,
                Created    = DateTime.Now,
                CreatedBy  = null,
                Modified   = null,
                ModifiedBy = null,
                Id         = id,

                CustomerInvoiceTermsAndConditions = null,
                SaleVatPercentage                = 0,
                IsUseDefaultSettings             = true,
                IsEnableEmailNotification        = true,
                IsSendEmailToAdminForTransaction = true,

                IsEnableSmsNotification           = true,
                IsSendSmsToCustomerForTransaction = true,

                HostingValidTill = null,
                PoweredBy        = AppConst.PoweredBy,

                TenantId  = tenantId,
                CompanyId = company.Id,
            };

            if (companySetting.IsUseDefaultSettings)
            {
                companySetting.EmailSenderDisplayName  = company?.Name;
                companySetting.NotificationSenderEmail = company?.Email;
            }

            _companySettingsRepository.CreateAsHost(companySetting);
            _companySettingsRepository.Commit();

            return(id);
        }