package Ġcom . ye on ky u . bl ind community 2 . data . repository Ċ Ċ import Ġcom . ye on ky u . bl ind community 2 . data . api . Post Service Ċ import Ġcom . ye on ky u . bl ind community 2 . data . entities .* Ċ Ċ class ĠPost Repository ( private Ġval Ġpost Service : ĠPost Service ) Ġ: ĠBase Repository () Ġ{ ĊĠĠĠ Ġsuspend Ġfun Ġget Free Post ( post Id : String ): ĠPost Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . get Free Post Content ( post Id ) Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġget Info Post ( post Id : ĠString ): ĠPost Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . getInfo Post Content ( post Id ) Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġget Employ Post ( post Id : ĠString ): ĠPost Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . get Employ Post Content ( post Id ) Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġget Comment ( post Id : ĠString ): ĠComment Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . get Comment ( post Id ) Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġregister Comment ( comment Info : ĠComment Info ): ĠPost Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . register Comment ( comment Info ) Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġis Post Writer ( post Id : ĠString , ĠuserId : ĠString ): ĠPost Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . is Post Writer ( post Id , userId ) Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġdelete Post ( board Info : ĠBoard Info ): ĠPost Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . delete Post ( board Info ) Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġdelete Comment ( comment Info : ĠComment Info ): ĠComment Response Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapi Request Ġ{ Ġpost Service . delete Comment ( comment Info ) Ġ} Ċ }