コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderController"/> class.
 /// </summary>
 /// <param name="_iOrder">The i order.</param>
 /// <param name="_iOrderInvoice">The i order invoice.</param>
 /// <param name="_env">The env.</param>
 /// <param name="_config">The configuration.</param>
 /// <param name="iCart">The i cart.</param>
 public OrderController(IOrder _iOrder, IOrderInvoice _iOrderInvoice, IHostingEnvironment _env, IConfiguration _config, ICart _iCart)
 {
     iOrder        = _iOrder;
     iOrderInvoice = _iOrderInvoice;
     env           = _env;
     config        = _config;
     iCart         = _iCart;
 }
コード例 #2
0
 public PurchaseController(IOrder purchase, IOrderComponent purchaseComponent, IOrderProduct purchaseProduct, IOrderInvoice purchaseInvoice, IOrderPayment purchasePayment, IOrderItem purchaseitem)
 {
     _purchase          = purchase;
     _purchaseComponent = purchaseComponent;
     _purchaseProduct   = purchaseProduct;
     _purchaseInvoice   = purchaseInvoice;
     _purchasePayment   = purchasePayment;
     _purchaseItem      = purchaseitem;
 }
コード例 #3
0
 public QuotationController(IOrder order, IOrderComponent orderComponent, IOrderProduct orderProduct, IOrderInvoice orderInvoice, IOrderPayment orderPayment, IOrderItem orderitem)
 {
     _quotation          = order;
     _quotationComponent = orderComponent;
     _quotationProduct   = orderProduct;
     _quotationInvoice   = orderInvoice;
     _quotationPayment   = orderPayment;
     _quotationItem      = orderitem;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderInvoiceController" /> class.
 /// </summary>
 /// <param name="_iOrderInvoice">The i order invoice.</param>
 /// <param name="_env">The env.</param>
 /// <param name="_iProduct">The i product.</param>
 /// <param name="_iOrder">The i order.</param>
 /// <param name="_iSize">Size of the i.</param>
 /// <param name="_iPromoCode">The i promo code.</param>
 public OrderInvoiceController(IOrderInvoice _iOrderInvoice, IHostingEnvironment _env, IProduct _iProduct, IOrder _iOrder, ISize _iSize, IPromoCode _iPromoCode, IConfiguration _config)
 {
     iOrderInvoice = _iOrderInvoice;
     env           = _env;
     iProduct      = _iProduct;
     iOrder        = _iOrder;
     iSize         = _iSize;
     iPromoCode    = _iPromoCode;
     config        = _config;
 }
コード例 #5
0
 public OrderController(IOrder order, IOrderComponent orderComponent, IOrderProduct orderProduct,
                        IOrderInvoice orderInvoice, IOrderPayment orderPayment, IOrderItem orderitem, IMakerSheet makerSheet,
                        IOrderService orderService)
 {
     _order          = order;
     _orderComponent = orderComponent;
     _orderProduct   = orderProduct;
     _orderInvoice   = orderInvoice;
     _orderPayment   = orderPayment;
     _orderItem      = orderitem;
     _makerSheet     = makerSheet;
     _orderService   = orderService;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommonController" /> class.
 /// </summary>
 /// <param name="_iUser">The i user.</param>
 /// <param name="_iOrder">The i order.</param>
 /// <param name="_iOrderInvoice">The i order invoice.</param>
 /// <param name="_env">The env.</param>
 /// <param name="_config">The configuration.</param>
 /// <param name="_iCart">The i cart.</param>
 /// <param name="_iContent">Content of the i.</param>
 /// <param name="_iStyleCampaign">The i style campaign.</param>
 /// <param name="_iTestimonial">The i testimonial.</param>
 /// <param name="_iPromoCode">The i promo code.</param>
 /// <param name="_iMaster">The i master.</param>
 /// <param name="_iProductCategoryType">Type of the i product category.</param>
 /// <param name="_iProduct">The i product.</param>
 /// <param name="_iSize">Size of the i.</param>
 public CommonController(IUser _iUser, IOrder _iOrder, IOrderInvoice _iOrderInvoice, IHostingEnvironment _env, IConfiguration _config, ICart _iCart, IContent _iContent, IStyleCampaign _iStyleCampaign, ITestimonial _iTestimonial, IPromoCode _iPromoCode, IMaster _iMaster, IProductCategoryType _iProductCategoryType, IProduct _iProduct, ISize _iSize)
 {
     iUser                = _iUser;
     iOrder               = _iOrder;
     iOrderInvoice        = _iOrderInvoice;
     env                  = _env;
     config               = _config;
     iCart                = _iCart;
     iStyleCampaign       = _iStyleCampaign;
     iTestimonial         = _iTestimonial;
     iPromoCode           = _iPromoCode;
     iMaster              = _iMaster;
     iProductCategoryType = _iProductCategoryType;
     iProduct             = _iProduct;
     iSize                = _iSize;
 }