public OrderDetailsViewModel(IOrderManager orderManager, IOrderedManager orderedManager, IItemManager itemManager, IOrderStatusManager statusManager, ICategoryManager categoryManager, ApplicationUser user, OrderDTO order)
 {
     _orderManager    = orderManager;
     _orderedManager  = orderedManager;
     _itemManager     = itemManager;
     _statusManager   = statusManager;
     _categoryManager = categoryManager;
     Order            = order;
     _user            = user;
     Init();
 }
예제 #2
0
 public UserStartPage(IApplicationUser user,
                      ICategoryManager categoryManager,
                      IItemManager itemManager,
                      IOrderManager orderManager,
                      IOrderedManager orderedManager,
                      IOrderStatusManager orderStatusManager,
                      IUserInfoManager userInfoManager)
 {
     InitializeComponent();
     this._user               = user;
     this._itemManager        = itemManager;
     this._orderManager       = orderManager;
     this._orderedManager     = orderedManager;
     this._orderStatusManager = orderStatusManager;
     this._userInfoManager    = userInfoManager;
     InitFields();
 }
예제 #3
0
 public OrderHistory(IApplicationUser user,
                     ICategoryManager categoryManager,
                     IItemManager itemManager,
                     IOrderManager orderManager,
                     IOrderedManager orderedManager,
                     IOrderStatusManager orderStatusManager
                     )
 {
     this._user               = user;
     this._itemManager        = itemManager;
     this._orderManager       = orderManager;
     this._orderedManager     = orderedManager;
     this._orderStatusManager = orderStatusManager;
     InitializeComponent();
     initData();
     RefreshGrid();
 }