public static void CreateSampleAnalyticsForStore(List <Product> products, HccRequestContext context = null) { var sampleData = new SampleData(context ?? HccRequestContext.Current); sampleData.CreateSampleAnalytics(products); }
public static bool SampleAnalyticsExists(HccRequestContext context = null) { var sampleData = new SampleData(context ?? HccRequestContext.Current); return(sampleData.IsSampleAnalyticsExist()); }
public static void AddSampleProductsToStoreWithoutStatistics(HccRequestContext context = null) { var sampleData = new SampleData(context ?? HccRequestContext.Current); sampleData.AddSampleProducts(); }
public static void RemoveSampleProductsFromStore(HccRequestContext context = null) { var sampleData = new SampleData(context ?? HccRequestContext.Current); sampleData.RemoveSampleProducts(); }
public static void RemoveSampleAnalyticsForStore(HccRequestContext context = null) { var sampleData = new SampleData(context ?? HccRequestContext.Current); sampleData.DeleteSampleAnalytics(false); }