package Ġcom . int ive . t mdb android . use case Ċ Ċ import Ġcom . int ive . t mdb android . model . Session Ċ import Ġcom . int ive . t mdb android . repository . Catalog Repository Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠRating TV Show UseCase Ġ@ Inject Ġconstructor ( private Ġval Ġrepository : ĠCatalog Repository ) Ġ{ ĊĠĠĠ Ġsuspend Ġoperator Ġfun Ġinvoke ( id : ĠInt , Ġrating : ĠDouble , session : ĠSession ): ĠBoolean Ġ= Ġrepository . set TV Show Rating ( id , Ġrating , session ) Ċ }