Пример #1
0
 private void NavToAddProduct(Product prod)
 {
     _addEditViewModel.EditMode = false;
     _addEditViewModel.SetProduct(prod);
     CurrentViewModel = _addEditViewModel;
 }
Пример #2
0
 private void NavigateToEditProduct(SportsStoreDomainLibrary2.Entities.Product product)
 {
     _AddEditProductViewModel.EditFlag = true;
     _AddEditProductViewModel.SetProduct(product);
     CurrentViewModel = _AddEditProductViewModel;
 }
Пример #3
0
 private void NavigateToEditProduct(Product product)
 {
     _addEditProductViewModel.EditFlag = true;
     _addEditProductViewModel.SetProduct(product);
     CurrentViewodel = _addEditProductViewModel;
 }