/// <summary> /// Save the feature /// </summary> /// <param name="adapter"></param> /// <param name="feature"></param> public void Save(IFeatureDataAdapter adapter, Feature feature) { if (adapter == null) { throw new ArgumentNullException(nameof(adapter)); } if (feature == null) { throw new ArgumentNullException(nameof(feature)); } if (!this.IsEnabled) { return; } Insert(adapter, feature, string.Empty); }
private static void Insert(IFeatureDataAdapter adapter, Feature feature, string details) { adapter.Save(feature, details); }