Beispiel #1
0
        public static PersonState ReducePersonPage(PersonState state, ChangePage action)
        {
            Console.WriteLine("========>LoadTodosActionsReducer  ChangePage...");

            return(new PersonState(action.page, state.peopleModel));
        }
Beispiel #2
0
        public static PersonState ReducePersonAdd(PersonState state, AddPerson action)
        {
            Console.WriteLine("========>ReducePersons  AddPerson...");

            return(new PersonState(1, action.peopleModel));
        }