package Ġcom . bs ch and ram oh an . learn . aws connect . dynamodb . dynamodb connect . service . async Ċ Ċ import Ġcom . bs ch and ram oh an . learn . aws connect . dynamodb . dynamodb connect . domain . Schedule Ċ import Ġorg . springframework . stereotype . Service Ċ Ċ @ Service (" Schedule Async Service ") Ċ class ĠSchedule Service ( var Ġschedule Repository : ĠSchedule Repository ) Ġ{ ĊĠĠĠ Ġfun Ġget ( userId : ĠLong ) Ġ= Ġschedule Repository . get ( userId ) ĊĠĠĠ Ġfun Ġsave ( schedule : ĠSchedule ) Ġ= Ġschedule Repository . save ( schedule ) Ċ } Ċ