Exemplo n.º 1
0
 public CartController(IOrderServices order, IOrderDetailServices orderDetail, ICouponServices coupon)
 {
     _order       = order;
     _orderDetail = orderDetail;
     _coupon      = coupon;
 }
Exemplo n.º 2
0
 public EditDiscountModel(IOrderServices orderServices)
 {
     _orderServices = orderServices;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Cria uma instância da classe <see cref="OrderController"/>.
 /// </summary>
 /// <param name="orderServices"></param>
 public OrderController(IOrderServices orderServices)
 {
     _orderServices = orderServices;
 }
Exemplo n.º 4
0
 public OrdersController(IOrderServices orderServices, IProductServices productServices, ICartServices cartServices)
 {
     this.orderServices   = orderServices;
     this.productServices = productServices;
     this.cartServices    = cartServices;
 }
Exemplo n.º 5
0
 public OrderController(IOrderServices services)
 {
     this._services = services;
 }
 public StartMachineViewModel(IBeukServices beukService, IMachineServices machineService, IOperatorServices operatorService, IOrderServices orderService, IUnitServices unitService, IStatusServices statusService)
 {
     this.beukService     = beukService;
     this.machineService  = machineService;
     this.operatorService = operatorService;
     this.orderService    = orderService;
     this.unitService     = unitService;
     this.statusService   = statusService;
     beukValidator        = new BeukValidator();
     machineValidator     = new MachineValidator();
     orderValidator       = new StatusValidator();
     unitValidator        = new UnitValidator();
     statusValidator      = new StatusValidator();
 }
Exemplo n.º 7
0
 public OrdersController(IOrderServices orderServices, IOrderItemServices orderItemServices)
 {
     _orderServices     = orderServices;
     _orderItemServices = orderItemServices;
 }