// fill the Suplier

        public async Task <GetAllCruiseOpratorsTenants> GetAllCruiseOpratorsTenants()
        {
            using (_unitOfWorkManager.Current.DisableFilter(AbpDataFilters.MayHaveTenant))
            {
                var workingYear       = DateTime.Now.Year;
                var AgentUserSettings = await SettingManager.GetAllSettingValuesForUserAsync(AbpSession.ToUserIdentifier());

                foreach (var Setting in AgentUserSettings.Where(x => x.Value == "App.UserManagement.WorkingYear"))
                {
                    if (Setting.Name == "App.UserManagement.WorkingYear")
                    {
                        workingYear = Convert.ToInt32(Setting.Value);
                    }
                }
                IQueryable <Contract> filteredCruiseContract = _cruiseContractRepository.GetAll()
                                                               .Where(x => x.Season == Convert.ToString(workingYear) && x.ContractDisable == true && x.ContractEnable == true);


                GetAllCruiseOpratorsTenants getAllCruiseOpratorsTenants = new GetAllCruiseOpratorsTenants();
                var filteredSettings = _readSettingsRepository.GetAll().Where(x => x.Name == "App.TenantManagement.IsCruise");
                List <CruiseOpratorsTenant> cruiseOpratorsList = new List <CruiseOpratorsTenant>();
                foreach (var setting in filteredSettings)
                {
                    if (Convert.ToBoolean(setting.Value))
                    {
                        var findValue = cruiseOpratorsList.Where(x => x.TenantId == setting.TenantId);
                        if (findValue.Count() == 0)
                        {
                            CruiseOpratorsTenant cruiseOpratorsTenant = new CruiseOpratorsTenant();
                            cruiseOpratorsTenant.TenantId        = setting.TenantId;
                            cruiseOpratorsTenant.IsCruiseOprator = Convert.ToBoolean(setting.Value);
                            cruiseOpratorsTenant.TenantName      = Convert.ToString(setting.TenancyName);
                            cruiseOpratorsList.Add(cruiseOpratorsTenant);
                        }
                    }
                }


                getAllCruiseOpratorsTenants.cruiseOpratorsTenant = new List <CruiseOpratorsTenant>();
                getAllCruiseOpratorsTenants.cruiseOpratorsTenant = cruiseOpratorsList;

                return(getAllCruiseOpratorsTenants);
            }
        }
        public async Task <GetAllCruiseOpratorsTenants> GetAllTravelAgentsContract()
        {
            GetAllCruiseOpratorsTenants getAllCruiseOpratorsTenants = new GetAllCruiseOpratorsTenants();
            var filteredSettings = _readSettingsRepository.GetAll().Where(x => x.Name == "App.TenantManagement.IsTravelOperator");
            List <CruiseOpratorsTenant> cruiseOpratorsList = new List <CruiseOpratorsTenant>();

            foreach (var setting in filteredSettings)
            {
                if (Convert.ToBoolean(setting.Value))
                {
                    CruiseOpratorsTenant cruiseOpratorsTenant = new CruiseOpratorsTenant();
                    cruiseOpratorsTenant.TenantId        = setting.TenantId;
                    cruiseOpratorsTenant.IsCruiseOprator = Convert.ToBoolean(setting.Value);
                    cruiseOpratorsTenant.TenantName      = Convert.ToString(setting.TenancyName);
                    cruiseOpratorsList.Add(cruiseOpratorsTenant);
                }
            }
            getAllCruiseOpratorsTenants.cruiseOpratorsTenant = new List <CruiseOpratorsTenant>();
            getAllCruiseOpratorsTenants.cruiseOpratorsTenant = cruiseOpratorsList;

            return(getAllCruiseOpratorsTenants);
        }