Ejemplo n.º 1
0
 public static DatabaseState ReduceFetchDatabaseAction(DatabaseState state, FetchDatabaseAction action) =>
 new DatabaseState(
     isLoading: true,
     dbContainer: null);
Ejemplo n.º 2
0
 public static DatabaseState ReduceFetchDatabaseResultAction(DatabaseState state, FetchDatabaseActionResult action) =>
 new DatabaseState(
     isLoading: false,
     dbContainer: action.DatabaseLists
     );