package Ġdelta . code character . server . leader board Ċ Ċ import Ġdelta . code character . core . Leader board Api Ċ import Ġdelta . code character . d tos . Leader board Entry Dto Ċ import Ġdelta . code character . server . user . public _ user . Public UserService Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . http . Response Entity Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ class ĠLeader board Controller (@ Autowired Ġprivate Ġval Ġpublic UserService : ĠPublic UserService ) Ġ: ĊĠĠĠ ĠLeader board Api Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġget Leader board ( page : ĠInt ?, Ġsize : ĠInt ?): ĠResponseEntity < List < Leader board Entry Dto >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠResponseEntity . ok ( public UserService . get Leader board ( page , Ġsize )) ĊĠĠĠ Ġ} Ċ } Ċ