public static PersonState ReducePersonPage(PersonState state, ChangePage action) { Console.WriteLine("========>LoadTodosActionsReducer ChangePage..."); return(new PersonState(action.page, state.peopleModel)); }
public static PersonState ReducePersonAdd(PersonState state, AddPerson action) { Console.WriteLine("========>ReducePersons AddPerson..."); return(new PersonState(1, action.peopleModel)); }