using AdventureWorks.EntityLayer; using AdventureWorks.ViewModelLayer.ViewModelClasses; using Common.Library; namespace AdventureWorks.MAUI.CommandClasses { public class ProductViewModelCommands : ProductViewModel { #region Constructors public ProductViewModelCommands() : base() { } public ProductViewModelCommands(IRepository repo) : base(repo) { } #endregion public void LoadProducts() { Get(); } public void LoadProductById(int id) { ProductObject = Get(id); } } }