package Ġcom . github . lib li boom . t mdb . domain . bookmark Ċ Ċ import Ġcom . github . lib li boom . t mdb . domain . bookmark . entity . Bookmark Ċ import Ġcom . github . lib li boom . t mdb . domain . bookmark . type . Bookmark Repository Ċ Ċ class ĠBook mark Use case ( private Ġval Ġbookmark Repository : ĠBook mark Repository ) Ġ{ ĊĠ Ġsuspend Ġfun Ġget Bookmark ( id : ĠInt ) Ġ= Ġbookmark Repository . read Bookmark ( id ) ĊĠ Ġsuspend Ġfun ĠgetAll Book marks () Ġ= Ġbookmark Repository . read All Book marks () ĊĠ Ġsuspend Ġfun Ġadd Bookmark ( bookmark : ĠBook mark ) Ġ= Ġbookmark Repository . insert Bookmark ( bookmark ) ĊĠ Ġsuspend Ġfun Ġremove Bookmark ( bookmark : ĠBook mark ) Ġ= Ġbookmark Repository . delete Bookmark ( bookmark ) Ċ } Ċ