Tired of losing track of your spending on many different services? With Recurrents, just input your subscriptions for an easy overview and stay in control with reminders, save money, and enjoy a stress-free experience. Take control of your expenses effortlessly!
{
IEnumerable<ItemViewModel> items;
//TODO Must add a listener for when the category changes
if (SelectedCategory is not { } category)
{
return new List<ItemViewModel>();
}
//If ArchivePage is selected, show archived items
if (category.Page == typeof(ArchivePage))
{
items = _itemService.GetItems(item => item.IsArchived)
.OrderBy(i => i.PaymentDate);
https://github.com/morning4coffe-dev/recurrents/blob/f66590c5a86bb1b3b59351e1756221bdba1679ce/ProjectSBS/ProjectSBS/Business/ViewModels/HomeViewModel.cs#L208