package Ġcz . eman . ka al sample . domain . feature . movies . popular . use case Ċ Ċ import Ġcz . eman . ka al . domain . result . Result Ċ import Ġcz . eman . ka al . domain . use cases . UseCase Result Ċ import Ġcz . eman . ka al sample . domain . feature . movies . common . model . Movie Ċ import Ġcz . eman . ka al sample . domain . feature . movies . common . repository . Movies Repository Ċ Ċ /** Ċ Ġ* ĠBy Ġthis Ġuse - case Ġyou Ġcan Ġget Ġcurrent Ġa Ġlist Ġof Ġthe Ġmost Ġpopular Ġmovies Ġin Ġan Ġasynchronous Ġway . Ċ Ġ* Ċ Ġ* Ġ@ author Ġvs ou h rada Ġ( v acl av . s ou h rada @ eman . cz ) Ċ Ġ* Ġ@ see [ UseCase ] Ċ Ġ*/ Ċ class ĠGet Pop ular Movies UseCase ( private Ġval Ġmovies Repository : ĠMov ies Repository ) Ġ: ĠUse Case Result < List < Movie >, ĠUnit >() Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġdo Work ( params : ĠUnit ): ĠResult < List < Movie >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmovies Repository . get Pop ular Movies () ĊĠĠĠ Ġ} Ċ }