contact-service
v2.1.2
Published
A simple array based service layer for address book apps
Maintainers
Readme
A simple array based service layer for address book apps
Installing:
Using:
Currently avaiable member functions:
- getAll() --> returns all existing contacts
- getById(id) --> returns the corresponding contact or null if not found
- addNew(contact) --> adds the contact to the existing list of contcts with a new id
- update(contact) --> searches with the given contact's id and replaces the existing contact
- delete(id) --> searches with the given contact's id and deletes the same
