package Ġcom . this iss ade ghi . player . domain . use case . video Ċ Ċ import Ġcom . this iss ade ghi . player . domain . model . base . UseCase Result Ċ import Ġcom . this iss ade ghi . player . domain . model . video . Video Ċ import Ġcom . this iss ade ghi . player . domain . repository . Video Repository Ċ import Ġcom . this iss ade ghi . player . domain . use case . UseCase Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠAli ĠS ade ghi Ċ Ġ* Ġon Ġ 0 5 , Mar , 2 0 2 1 Ċ Ġ*/ Ċ class ĠGet Videos UseCase Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġvideo Repository : ĠVideo Repository Ċ ) Ġ: ĠUse Case < Unit , ĠUse Case Result < List < Video >>> Ġ{ ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġinvoke ( param : ĠUnit ?): ĠUse Case Result < List < Video >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġvideo Repository . get Videos () ĊĠĠĠ Ġ} Ċ }