diff --git a/MyApp/ServiceInterface/TodosServices.cs b/MyApp/ServiceInterface/TodosServices.cs index 663b257..af45e41 100644 --- a/MyApp/ServiceInterface/TodosServices.cs +++ b/MyApp/ServiceInterface/TodosServices.cs @@ -5,10 +5,8 @@ namespace MyApp.ServiceInterface; -public class TodosServices : Service +public class TodosServices(IAutoQueryData AutoQuery) : Service { - public IAutoQueryData AutoQuery { get; set; } - static readonly PocoDataSource Todos = PocoDataSource.Create(new Todo[] { new () { Id = 1, Text = "Learn" },