/// <summary> /// Initializes a new instance of the <see cref="MerchelloDataService"/> class. /// </summary> /// <param name="merchelloContext"> /// The merchello context. /// </param> public MerchelloDataService(IMerchelloContext merchelloContext) { ProductDataService = new ProductDataService(merchelloContext); InvoiceDataService = new InvoiceDataService(merchelloContext); OrderDataService = new OrderDataService(merchelloContext); CustomerDataService = new CustomerDataService(merchelloContext); LogService = new MerchelloLogService(); }
/// <summary> /// Initializes a new instance of the <see cref="MerchelloDataService"/> class. /// </summary> /// <param name="merchelloContext"> /// The merchello context. /// </param> public MerchelloDataService(IMerchelloContext merchelloContext) { ProductDataService = new ProductDataService(merchelloContext); InvoiceDataService = new InvoiceDataService(merchelloContext); OrderDataService = new OrderDataService(merchelloContext); CustomerDataService = new CustomerDataService(merchelloContext); LogService = new MerchelloLogService(); }