package Ġbd . ctr acker . com . ctr acker . repository Ċ Ċ import Ġbd . ctr acker . com . ctr acker . model . CT Event Info Ċ import Ġbd . ctr acker . com . ctr acker . model . CT UserInfo Ċ import Ġokhttp 3 . ResponseBody Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . Headers Ċ import Ġretrofit 2 . http . POST Ċ Ċ interface ĠRest Api Ġ{ ĊĊĠĠĠ Ġ@ Headers (" Content - Type : Ġapplication / json ") ĊĠĠĠ Ġ@ POST (" users ") ĊĠĠĠ Ġfun Ġadd User (@ Body ĠuserData : ĠCT UserInfo ): ĠCall < CT UserInfo > ĊĊĠĠĠ Ġ@ Headers (" Content - Type : Ġapplication / json ") ĊĠĠĠ Ġ@ POST (" events ") ĊĠĠĠ Ġfun Ġadd Event (@ Body Ġevent Data : ĠCT Event Info ): ĠCall < CT Event Info > Ċ }