private void FetchTodos(FetchTodosAction action) { action.Todos = _todoCollection.FindAll(); }
private static ImmutableArray <TodoItem> FetchTodosReducer(ImmutableArray <TodoItem> previousState, FetchTodosAction action) { return(ImmutableArray.CreateRange(action.Todos)); }