package Ġorg . l rs . k modern l rs . services Ċ Ċ import Ġorg . l rs . k modern l rs . event . X api Event Ċ Ċ interface ĠEvent Service Ġ{ ĊĠĠĠ Ġfun Ġsave Event ( event : ĠX api Event ) ĊĠĠĠ Ġfun Ġget Event ( id : ĠString ) Ġ: ĠX api Event ? ĊĠĠĠ Ġfun ĠgetAll Events () Ġ: ĠList < X api Event >? ĊĠĠĠ Ġfun Ġget 1 0 Events ( from : ĠInt ) Ġ: ĠList < X api Event >? ĊĠĠĠ Ġfun Ġget 2 0 Events ( from : ĠInt ) Ġ: ĠList < X api Event >? ĊĠĠĠ Ġfun Ġget 5 0 Events ( from : ĠInt ) Ġ: ĠList < X api Event >? ĊĠĠĠ Ġfun Ġget Events Limit From ( limit : ĠInt , Ġfrom : ĠInt ) Ġ: ĠList < X api Event >? ĊĠĠĠ Ġfun Ġget Count () Ġ: ĠLong Ċ } Ċ