package Ġcom . s ami u . wang ank . ui . project Ċ Ċ import Ġcom . s ami u . wang ank . bean . Article List Ċ import Ġcom . s ami u . wang ank . bean . System Parent Ċ import Ġcom . s ami u . wang ank . http . Base Wan Repository Ċ import Ġcom . s ami u . wang ank . http . Wan Client Ċ import Ġcom . s ami u . wang ank . bean . base . Wan Result Ċ Ċ /** Ċ Ġ* Ġ@ author ĠS ami u Ġ 2 0 2 0 / 3 / 5 Ċ Ġ* Ġ@ email Ġs ami u zh ong @ outlook . com Ċ Ġ*/ Ċ class ĠW an Project Repository Ġ: ĠBase Wan Repository () Ġ{ ĊĊĠĠĠ Ġsuspend Ġfun Ġget Recent Projects ( page : ĠInt ): ĠW an Result < Article List > Ġ= Ġready Call Ġ{ ĊĠĠĠĠĠĠĠ Ġcall ( Wan Client . service . getLast ed Project ( page )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġget Project Type (): ĠW an Result < List < System Parent >> Ġ= Ġready Call Ġ{ ĊĠĠĠĠĠĠĠ Ġcall ( Wan Client . service . getProject Type ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun ĠgetAll Projects ( page : ĠInt , Ġcid : ĠInt ): ĠW an Result < Article List > Ġ= Ġready Call Ġ{ ĊĠĠĠĠĠĠĠ Ġcall ( Wan Client . service . getProject Type Detail ( page , Ġcid )) ĊĠĠĠ Ġ} Ċ }