public OrderManager(IOrderDal orderDal, IOrderedProductDal orderedProductDal, IMailService emailService, IUserDal userDal) { _orderDal = orderDal; _orderedProductDal = orderedProductDal; _emailService = emailService; _userDal = userDal; }
public OrderService(IOrderDal orderDal, ICarDal carDal, IUserDal userDal) { _orderDal = orderDal; _carDal = carDal; _userDal = userDal; //_orderDal = new OrderDal(); }
public OrderManager(IOrderDal orderDal, IOrderDetailService orderDetailService, IProductService productService, IUserService userService) { _orderDal = orderDal; _orderDetailService = orderDetailService; _productService = productService; _userService = userService; }
public ShoppingController() { _orderDetailDal = InstanceFactory.GetInstance <IOrderDetailDal>(); _menuDal = InstanceFactory.GetInstance <IMenuDal>(); _userDal = InstanceFactory.GetInstance <IUserDal>(); _orderDal = InstanceFactory.GetInstance <IOrderDal>(); _addressDal = InstanceFactory.GetInstance <IAddressDal>(); _reviewDal = InstanceFactory.GetInstance <IReviewDal>(); }
public static OrderManager CreateSingleton(IOrderDal orderDal) { if (_orderManager == null) { _orderManager = new OrderManager(orderDal); } return(_orderManager); }
public ServiceController() { _userDal = InstanceFactory.GetInstance <IUserDal>(); _menuDal = InstanceFactory.GetInstance <IMenuDal>(); _orderDal = InstanceFactory.GetInstance <IOrderDal>(); _orderDetailDal = InstanceFactory.GetInstance <IOrderDetailDal>(); _reviewDal = InstanceFactory.GetInstance <IReviewDal>(); _addressDal = InstanceFactory.GetInstance <IAddressDal>(); _branchDal = InstanceFactory.GetInstance <IBranchDal>(); }
public OrderBo(IOrderDal orderDal, IOrderDetailDal orderDetailDal, IOrderHistoryBo orderHistoryBo, IThirdPartyLogBo thirdPartyLogBo, IDistrictBoCached districtBoCached, IWardBoCached wardBoCached, IUserService userService, INotifyService notifyService) { this._orderDal = orderDal; this._orderDetailDal = orderDetailDal; this._orderHistoryBo = orderHistoryBo; this._thirdPartyLogBo = thirdPartyLogBo; this._districtBoCached = districtBoCached; this._wardBoCached = wardBoCached; this._userService = userService; this._notifyService = notifyService; }
public static IResult CheckOrderLimit(IOrderDal orderDal, Order order) { var result = orderDal.GetAll(o => o.CustomerId == order.CustomerId && o.dateTime == order.dateTime).Count; if (result ! > 10) { return(new SuccessResult()); } return(new ErrorResult(Messages.OrderLimit)); }
public OrderBll(IOrderRepository repostory,IOrderDal dal) { _repostory = repostory; _dal = dal; }
//private IOrdersRefDal dalref; public OrdersManager(IOrderDal dalorder) { this.dalorder = dalorder; //this.dalref = dalref; }
public OrderRepository() { accessDal = new MockOrderDal(); }
public OrderManager(IOrderDal orderDal, IOrderDetailDal detailDal, IOrderDetailService orderDetailService) { _orderDal = orderDal; _detailDal = detailDal; _orderDetailService = orderDetailService; }
public OrderManager(IOrderDal orderDal, IPaymentService paymentService, IMapper mapper) { _orderDal = orderDal; _paymentService = paymentService; _mapper = mapper; }
public OrderBLL(IOrderDal orderDal) { _orderDal = orderDal; }
public Order(IOrderDal orderDal) { this._orderDal = orderDal; }
public OrderManager(IBaseDal <Order> baseDal, IOrderDal orderDal) : base(baseDal) { _baseDal = baseDal; _orderDal = orderDal; }
public OrderService(IOrderDal orderDal, ILogFactory logFactory) : base(orderDal, logFactory) { _orderDal = orderDal; }
public OrderManager(IOrderDal orderDal, IAddressService addressService) { _orderDal = orderDal; _addressService = addressService; }
public OrderManager(IOrderDal OrderDal) { _OrderDal = OrderDal; }
public OrderManager(IOrderDal orderDal) { _orderDal = orderDal; }
public OrderManager(IOrderDal _orderDal) => orderDal = _orderDal;
public OrderAgent() { orderDal = new OrderDal(); }
public OrderLogic(IOrderDal orderDal) { _orderDal = orderDal; }
public OrderManager(IOrderDal orderDal_) { this.orderDal_ = orderDal_; }
public OrderService(IOrderDal orderDal) { _orderDal = orderDal; }
public OrderBll(IOrderDal orderDal) { _orderDal = orderDal; }
public OrderManager(IOrderDal orderDal, ISkateboardDal skateboardDal, IColorDal colorDal) { _orderDal = orderDal; _skateboarDal = skateboardDal; _colorDal = colorDal; }
public OrderManager(IOrderDal orderDal, IOrderDetailDal orderDetailDal, IProductService productService) { _orderDal = orderDal; _orderDetailDal = orderDetailDal; _productService = productService; }