Exemplo n.º 1
0
        public static CustomerHubFeatureSetting GetCustomerHubFeatureSetting(LoginUser loginUser, int customerHubFeatureSettingID)
        {
            CustomerHubFeatureSettings customerHubFeatureSettings = new CustomerHubFeatureSettings(loginUser);

            customerHubFeatureSettings.LoadByCustomerHubFeatureSettingID(customerHubFeatureSettingID);
            if (customerHubFeatureSettings.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(customerHubFeatureSettings[0]);
            }
        }
Exemplo n.º 2
0
 public CustomerHubFeatureSetting(DataRow row, CustomerHubFeatureSettings customerHubFeatureSettings) : base(row, customerHubFeatureSettings)
 {
     _customerHubFeatureSettings = customerHubFeatureSettings;
 }