add Or Update
adds or updates the serialized entity to localStorage using prefix and id defined in resource
Return
the added or saved entity
Parameters
entity
entity to add or update
adds or updates the serialized entity to localStorage using prefix and id defined in resource
the added or saved entity
entity to add or update