package Ġcom . uts man . hi y ah iy ah i ya . data . repository Ċ Ċ import Ġcom . uts man . hi y ah iy ah i ya . database . Local User Database Ċ import Ġcom . uts man . hi y ah iy ah i ya . database . entity . Local User Ċ Ċ class ĠContact Repository ( private Ġval Ġlocal User Database : ĠLocal User Database ) Ġ{ ĊĊĠĠĠ Ġfun Ġlocal Users () Ġ= Ġlocal User Database . local User Dao (). local Users () ĊĠĠĠ Ġfun Ġlocal User ( id String : ĠString ) Ġ= Ġlocal User Database . local User Dao (). local User ( id String ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert ( local User : ĠLocal User ) Ġ= Ġlocal User Database . local User Dao (). insert ( local User ) ĊĠĠĠ Ġsuspend Ġfun Ġupdate ( local User : ĠLocal User ) Ġ= Ġlocal User Database . local User Dao (). update ( local User ) ĊĠĠĠ Ġsuspend Ġfun Ġdelete ( local User : ĠLocal User ) Ġ= Ġlocal User Database . local User Dao (). delete ( local User ) Ċ }