public AddIncomeViewModel(ShellViewModel parentVM) { this.parentVM = parentVM; entityPrototype = new IncomeItemEntity { Id = 0, Date = DateTime.Today, Category = parentVM.IncomeCategories.FirstOrDefault(), Amount = 0, Details = string.Empty }; }
public ListItemsViewModel(ShellViewModel parentVM) { this.parentVM = parentVM; }