public void SetUp() { _repository = new Mock<IOrderRepository>(); _business = new OrderBusiness(_repository.Object); _userId = 1; _listaIdProdutos = new List<int> { 1, 2 }; _idFormaDePagamento = 1; _pedido = new Order {OrderValue = 100.0M, FreightValue = 10.0M, TotalValue = 110.0M}; }
public OrderController(IOrderBusiness orderBusiness, ILocationService locationService, IOrderServiceBusiness orderServiceBusiness, IPromoOfferBusiness promoOfferBusiness, IOrderRepository orderRepository, IDeviceStatusBusiness deviceStatusBusiness) { _orderBusiness = orderBusiness; _orderServiceBusiness = orderServiceBusiness; _locationService = locationService; _promoOfferBusiness = promoOfferBusiness; _tokenGenerator = new TokenGenerator(); _orderRepository = orderRepository; _deviceStatusBusiness = deviceStatusBusiness; }
public OrderAdminController(IOrderBusiness orderBusiness, ISettingBusiness settingBusiness, IAddressBusiness addressBusiness, IPaymentGatewayBusiness paymentGatewayBusiness, IOfficeAddressBusiness officeAddressBusiness, Lazy <IPricingItemBusiness> pricingItemBusiness, Lazy <IOrderDetailBusiness> orderDetailBusiness, Lazy <ITransactionBusiness> transactionBusiness) { _transactionBusiness = transactionBusiness; _settingBusiness = settingBusiness; _orderBusiness = orderBusiness; _addressBusiness = addressBusiness; _pricingItemBusiness = pricingItemBusiness; _officeAddressBusiness = officeAddressBusiness; _orderDetailBusiness = orderDetailBusiness; _paymentGatewayBusiness = paymentGatewayBusiness; }
public OrderController(IOrderBusiness orderBusiness, IPaymentGatewayBusiness paymentGatewayBusiness, IOfficeAddressBusiness officeAdressBusiness, ISettingBusiness settingBusiness, IAddressBusiness addressBusiness, IUserBusiness userBusiness, Lazy <IPricingItemBusiness> pricingItemBusiness, Lazy <IShortLinkBusiness> shortLinkBusiness, Lazy <ITransactionBusiness> transBusiness) : base(userBusiness) { _paymentGatewayBusiness = paymentGatewayBusiness; _officeAdressBusiness = officeAdressBusiness; _orderBusiness = orderBusiness; _addressBusiness = addressBusiness; _settingBusiness = settingBusiness; _pricingItemBusiness = pricingItemBusiness; _shortLinkBusiness = shortLinkBusiness; _transBusiness = transBusiness; _userBusiness = userBusiness; }
public HomeController(IUserBusiness userSrv, IOrderBusiness orderSrv, IAttachmentBusiness attachmentSrv, IUserBusiness userBusiness, IPaymentGatewayBusiness paymentGatewayBusiness, IOrderBusiness orderBusiness, IAddressBusiness addressBusiness, Lazy <IUserInRoleBusiness> userInRoleBusiness, Lazy <ITransactionBusiness> transBusiness, Lazy <IPricingItemBusiness> pricingItemBusiness) : base(userSrv) { _userSrv = userSrv; _orderSrv = orderSrv; _attachmentSrv = attachmentSrv; _userBusiness = userBusiness; _paymentGatewayBusiness = paymentGatewayBusiness; _orderBusiness = orderBusiness; _addressBusiness = addressBusiness; _userInRoleBusiness = userInRoleBusiness; _transBusiness = transBusiness; _pricingItemBusiness = pricingItemBusiness; }
public OrderController(IOrderBusiness orderBusiness) { this._orderBusiness = orderBusiness; }
public MemberController(IMemberBusiness memberBusiness, IMemberReceiptInfoBusiness memberReceiptInfo, IOrderBusiness orderBusiness) { this._memberBusiness = memberBusiness; this._memberReceiptInfo = memberReceiptInfo; this._orderBusiness = orderBusiness; }
public OrderController(IOrderBusiness _orderBusiness) { orderBusiness = _orderBusiness; }
public OrderController(IOrderBusiness OrderBusiness) { _OrderBusiness = OrderBusiness; }
public CarrinhoDeComprasController(IOrderBusiness orderBusiness) { _business = orderBusiness; }
public OrderAppService(IOrderBusiness orderBusiness, IMapper mapper) { _orderBusiness = orderBusiness; _mapper = mapper; }
/// <summary> /// 订单处理 /// </summary> public OrderController(IOrderBusiness orderBusiness, IOrderLimitCached orderLimitCached) { this.orderBusiness = orderBusiness; this.orderLimitCached = orderLimitCached; }
public OrderService(IOrderBusiness OrderBiz, IJpushLogBusiness JpushLogBiz)// { _OrderBiz = OrderBiz; _JpushLogBiz = JpushLogBiz; }
public FacadeService(IOrderBusiness orderBusiness) { _orderBusiness = orderBusiness; }
public OrderController(IMapper mapper, IOrderBusiness orderBusiness) { _orderBusiness = orderBusiness; _mapper = mapper; }
public Order_BranchController(IOrderBusiness IOrderBus, IUnitOfWork unitOW) { _IOrderBus = IOrderBus; _unitOW = unitOW; }
public OrdersController(IOrderBusiness orderBusiness) { _orderBusiness = orderBusiness; }
public OrderController(IOrderBusiness orderBusiness) { order = orderBusiness; }
public OrderController(IOrderBusiness order) { _orderBusiness = order; }
public OrderController() { orderBusiness = OrderBusinessFactory.Create(); }
public OrderBusiness(IOrderBusiness Ib) { _Ib = Ib; }
public OrderController(IOrderBusiness orderBusiness, IOrderDetailBusiness orderDetailBusiness) { this._orderBusiness = orderBusiness; this._orderDetailBusiness = orderDetailBusiness; }
public MemberController(IMemberBusiness memberBusiness, IOrderBusiness orderBusiness) { this._memberBusiness = memberBusiness; this._orderBusiness = orderBusiness; }
public OrdersController(IOrderBusiness OrderBusiness, IEcardBusiness EcardBusiness) { this.OrderBusiness = OrderBusiness; this.EcardBusiness = EcardBusiness; }
// GET: Dashboard public DashboardController(IOrderBusiness orderBusiness, IOrderDetailBusiness orderDetailBusiness) { this._orderBusiness = orderBusiness; this._orderDetailBusiness = orderDetailBusiness; }
public CustomerController(ICustomerBusiness customerBusiness, ICommonBusiness commonBusiness, IOrderBusiness orderBusiness, ICart_WishlistBusiness cart_WishlistBusiness, IMasterBusiness masterBusiness) { _commonBusiness = commonBusiness; _customerBusiness = customerBusiness; _orderBusiness = orderBusiness; _cart_WishlistBusiness = cart_WishlistBusiness; _masterBusiness = masterBusiness; }
public CartController(ICartBusiness _cartBusiness, UserManager <User> _userManager, IOrderBusiness _orderBusiness) { cartBusiness = _cartBusiness; userManager = _userManager; orderBusiness = _orderBusiness; }
public DashBoardController(IMasterBusiness masterBusiness, IOrderBusiness orderBusiness, IProductBusiness productBusiness) { _masterBusiness = masterBusiness; _orderBusiness = orderBusiness; _productBusiness = productBusiness; }
public ZFBPayService(IOrderBusiness OrderBusinessBiz) { _OrderBusinessBiz = OrderBusinessBiz; }
public OrderChannelController(IOrderBusiness IOrderBus, IUnitOfWork unitOW) { _IOrderBus = IOrderBus; _unitOW = unitOW; }
public TourController(ITourBusiness tourBusiness, IStepBusiness stepBusiness, IOrderBusiness orderBusiness, IMemberBusiness memberBusiness, IPromotionBusiness promotionBusiness, IOrderDetailBusiness orderDetailBusiness) { this._tourBusiness = tourBusiness; this._stepBusiness = stepBusiness; this._orderBusiness = orderBusiness; this._memberBusiness = memberBusiness; this._promotionBusiness = promotionBusiness; this._orderDetailBusiness = orderDetailBusiness; }
public CustomerController(ICustomerBusiness customerBusiness, IMasterBusiness masterBusiness, ICommonBusiness commonBusiness, IEventBusiness eventBusiness, ICart_WishlistBusiness cartwishlistBusiness, IOrderBusiness orderBusiness, IQuotationsBusiness quotationBusiness, IBookingsBusiness bookingsBusiness) { _customerBusiness = customerBusiness; _commonBusiness = commonBusiness; _eventBusiness = eventBusiness; _masterBusiness = masterBusiness; _cartwishlistBusiness = cartwishlistBusiness; _orderBusiness = orderBusiness; _quotationBusiness = quotationBusiness; _bookingsBusiness = bookingsBusiness; }