/// <summary> /// Robert Forbes /// 2017/02/02 /// /// Constructor for the window /// </summary> /// <param name="orderId">The orderID that the packages should relate to</param> public frmProductOrderPackages(int orderId) { _orderId = orderId; _packageManager = new PackageManager(); _orderManager = new ProductOrderManager(); InitializeComponent(); }
public ProductOrderController(IProductOrderManager productorderManager, IMapper mapper, IOrderManager orderManager, IProductManager productManager) { _productOrderManager = productorderManager; _productManager = productManager; _orderManager = orderManager; _mapper = mapper; }
public OrderController(IOrderManager orderManager, IMapper mapper, IProductOrderManager productOrderManager, IStockManager stockManager, IProductManager productManager) { _orderManager = orderManager; _productOrderManager = productOrderManager; _stockManager = stockManager; _productManager = productManager; _mapper = mapper; }
/// <summary> /// Ariel Sigo /// /// Created: /// 2017/04/29 /// /// Creates instances for the Account Controller /// </summary> /// <param name="userManager"></param> /// <param name="signInManager"></param> /// <param name="appUserManager"></param> /// <param name="_userCartManager"></param> /// <param name="_orderManager"></param> public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IUserManager appUserManager, IUserCartManager _userCartManager, IProductOrderManager _orderManager) { UserManager = userManager; SignInManager = signInManager; this._appUserManager = appUserManager; this._userCartManager = _userCartManager; this._orderManager = _orderManager; }
/// <summary> /// Ariel Sigo /// /// Created: /// 2017/04/29 /// </summary> /// <param name="productManager"></param> public ProductsController(IProductManager productManager, IProductOrderManager orderManager, IUserCartManager userCartManager) { _productManager = productManager; _userCartManager = userCartManager; _orderManager = orderManager; }
public OrderControllerHandler(IOrderManager orderManager, IProductManager productManager, IProductOrderManager productOrderManager) { _orderManager = orderManager; _productManager = productManager; _productOrderManager = productOrderManager; }
/// <summary> /// Ariel Sigo /// /// Created: /// 2017/04/29 /// /// Create instances for IUserManager, IUserCartManager, and IProductManager /// </summary> /// <param name="appUserManager"></param> /// <param name="_userCartManager"></param> /// <param name="_orderManager"></param> public AccountController(IUserManager appUserManager, IUserCartManager _userCartManager, IProductOrderManager _orderManager) { this._appUserManager = appUserManager; this._userCartManager = _userCartManager; this._orderManager = _orderManager; }
public ProductOrderControllerHandler(IProductOrderManager productOrderManager) { _productOrderManager = productOrderManager; }