public Task <GetToDoListsResponse> Handle(GetToDoLists request, CancellationToken cancellationToken) { var toDoLists = _repository.GetToDoLists(); return(Task.FromResult(new GetToDoListsResponse { Data = toDoLists })); }
public IQueryable <Entity.ToDoList> GetToDoLists() => _repository.GetToDoLists();