11/14
This commit is contained in:
14
ToDoList/Services/ToDoListService.cs
Normal file
14
ToDoList/Services/ToDoListService.cs
Normal 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 },
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user