public CheckoutController(ICart cartService, ICartViewModel cartViewModelService, IOrderServ orderService) { _cartService = cartService; _orderService = orderService; _cartViewModelService = cartViewModelService; }
public MainViewModel(ICatalogViewModel catalogViewModel, ICartViewModel cartViewModel, IEventAggregator eventAggregator) { CatalogViewModel = catalogViewModel; CartViewModel = cartViewModel; _eventAggregator = eventAggregator; GetCatalog = new DelegateCommand(OnGetCatalogExecute); UpdateDataBase = new DelegateCommand(OnUpdateDataBaseExecute); }
public CartController(ICart cartService, ICartViewModel cartViewModelService) { _cartService = cartService; _cartViewModelService = cartViewModelService; }