package Ġorg . jes per anc in ha . con certs . mvc . services Ċ Ċ import Ġorg . jes per anc in ha . con certs . data . Artist Dto Ċ import Ġorg . jes per anc in ha . con certs . mvc . model . to Artist Ċ import Ġorg . jes per anc in ha . con certs . mvc . model . to Artist Dto Ċ import Ġorg . jes per anc in ha . con certs . mvc . repos . Artist Repository Ċ import Ġorg . springframework . stereotype . Service Ċ Ċ @ Service Ċ class ĠArtist ServiceImpl ( private Ġval Ġartist Repository : ĠArtist Repository ) Ġ: ĠArtist Service Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠgetAll Art ists (): ĠList < Artist Dto >? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġartist Repository . findAll (). map Ġ{ Ġit . to Artist Dto () Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġcreate Artist ( artist : ĠArtist Dto ): ĠArtist Dto Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġartist Repository . save ( artist . to Artist ()). to Artist Dto () ĊĠĠĠ Ġ} Ċ }