public AddMenuItemViewModel(IMenuDataModel dataModel, IMenuManagerViewModel menuManagerViewModel) { _menuDataModel = dataModel; _menuManagerViewModel = menuManagerViewModel; SelectedCategory = null; }
public MenuManagerViewModel(IMenuDataModel dataModel) { _menuDataModel = dataModel; AllMenuItems = new ObservableCollection <MenuItem>(); MenuItems = new BindableCollection <MenuItem>(); Categories = new ObservableCollection <MenuItemCategory>(); AvailableCategories = new ObservableCollection <MenuItemCategory>(); }
public EditMenuItemViewModel(IMenuDataModel menuDataModel, IMenuManagerViewModel menuManagerViewModel) { _menuDataModel = menuDataModel; _menuManagerViewModel = menuManagerViewModel; }
public AddCategoryViewModel(IMenuDataModel menuDataModel, IMenuManagerViewModel menuManagerViewModel) { _menuDataModel = menuDataModel; _menuManagerViewModel = menuManagerViewModel; }