/// Common Variables /// public CategoryViewModel() : base(nameof(CategoryViewModel)) { Categories = new ObservableCollection <Category>(CategoryTable.GetAll()); }
/// Common Variables /// public ProductViewModel() : base(nameof(ProductViewModel)) { Categories = new ObservableCollection <Category>(CategoryTable.GetAll()); Products = new ObservableCollection <Product>(ProductTable.GetAll()); }