public FoodViewModel(FoodViewModel food) { this.food = new Food(food.Name_food, food.Image_path, food.Info_food, food.List_ingridient); }
public AddViewModel() { _food = new FoodViewModel(new Models.Food()); }
private void Execute_Delete(object o) { // Question(); FoodsList.Remove(_select_Item); _select_Item = null; }
public EditViewModel(FoodViewModel food) { _food = new FoodViewModel(food); OnPropertyChanged(nameof(Food)); }