package Ġcom . example . ko ge bo g . data Base Ċ Ċ import Ġandroid . util . Log Ċ import Ġandroidx . lifecycle . LiveData Ċ Ċ class ĠFood Repository ( private Ġval Ġfood Dao : ĠFood Dao ) Ġ{ ĊĊĠĠĠ Ġval Ġread All Data : ĠLive Data < List < Food >> Ġ= Ġfood Dao . read All Data () ĊĊĠĠĠ Ġsuspend Ġfun Ġadd Food ( food : ĠFood ){ ĊĠĠĠĠĠĠĠ Ġfood Dao . add Food (( food )) ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġdelete All Food (){ ĊĠĠĠĠĠĠĠ Ġfood Dao . delete All Food () ĊĠĠĠ Ġ} Ċ Ċ }