package Ġcom . bon ac ode . secure home . domain . feature . fav our ite action . use case Ċ Ċ import Ġcom . bon ac ode . secure home . domain . common . UseCase Ċ import Ġcom . bon ac ode . secure home . domain . feature . fav our ite action . datasource . F avour ite Action DataSource Ċ import Ġcom . bon ac ode . secure home . domain . feature . fav our ite action . model . F avour ite Action Model Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠSave F avour ite Action Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġfavour ite Action DataSource : ĠF avour ite Action DataSource Ċ ) Ġ: ĠUse Case < Save F avour ite Action . Params , ĠUnit > Ġ{ ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġinvoke ( params : ĠParams ) Ġ= ĊĠĠĠĠĠĠĠ Ġfavour ite Action DataSource . save F avour ite Action ( params . fav our ite Action ) ĊĊĠĠĠ Ġdata Ġclass ĠParams ( ĊĠĠĠĠĠĠĠ Ġval Ġfavour ite Action : ĠF avour ite Action Model ĊĠĠĠ Ġ) Ċ } Ċ