kamilgadek / to_do_list_kamilg

1 stars 0 forks source link

feat: in tasks_repository create a method for saving the task, use local_storage package #42

Open mszakacz opened 1 month ago

mszakacz commented 1 month ago

Prerequirenments: You should already have local_storage package that has methods read and write (naming can be different)

What to do: In tasks_repository create 2 new methods: 1) getTasks - method uses local_storage to fetch all the tasks that are saved in local data base 2) addTask - method uses local_storage to add new task to local data base 3) editTask - method uses local_storage to edit task that is saved in local data base 4) deleteTask - method uses local_storage to delete task that is saved in local data base