This commit is contained in:
2024-05-20 22:25:19 -04:00
parent ce92bfd7f2
commit 45926fbfca
26 changed files with 242 additions and 31 deletions

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
using ToDoList.DataModel;
namespace ToDoList.Services;
public class ToDoListService
{
public IEnumerable<ToDoItem> GetItems() => new[]
{
new ToDoItem { Description = "Walk the dog" },
new ToDoItem { Description = "Buy some milk" },
new ToDoItem { Description = "Learn Avalonia", IsChecked = true },
};
}