package Ġno . sk at te et aten . aur ora . mo key . controller Ċ Ċ import Ġno . sk at te et aten . aur ora . mo key . service . Application DataService Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ @ RequestMapping ("/ api ") Ċ class ĠAff iliation Controller ( val Ġapplication DataService : ĠApplication DataService ) Ġ{ ĊĠĠĠ Ġ@ GetMapping ("/ aff iliation ") ĊĠĠĠ Ġsuspend Ġfun Ġget Aff ili ations (): ĠList < String > Ġ= Ġapplication DataService . findAll Aff ili ations () ĊĊĠĠĠ Ġ@ GetMapping ("/ auth / aff iliation ") ĊĠĠĠ Ġsuspend Ġfun Ġget Visible Aff ili ations (): ĠList < String > Ġ= Ġapplication DataService . findAll Visible Aff ili ations () Ċ } Ċ