예제 #1
0
        public MerchelloDataService(IMerchelloContext merchelloContext)
        {
            ProductDataService = new ProductDataService(merchelloContext);
            InvoiceDataService = new InvoiceDataService(merchelloContext);
            OrderDataService = new OrderDataService(merchelloContext);

            LogService = new MerchelloLogService();
        }
예제 #2
0
 /// <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();
 }