14 lines
378 B
C#
14 lines
378 B
C#
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 },
|
|
};
|
|
} |