package Ġno . nav . bid rag . ved tak . service Ċ Ċ import Ġno . nav . bid rag . ved tak . api . peri ode . Opp rett Per i ode Request Ċ import Ġno . nav . bid rag . ved tak . api . peri ode . to Per i ode Dto Ċ import Ġorg . springframework . stereotype . Service Ċ import Ġorg . springframework . transaction . annotation . Transactional Ċ Ċ @ Service Ċ @ Transactional Ċ class ĠPer i ode Service ( val Ġpersistence Service : ĠPersistence Service ) Ġ{ ĊĊĠ Ġfun Ġopp rett Per i ode ( request : ĠO pp rett Per i ode Request ) Ġ= Ġpersistence Service . op prett Per i ode ( request . to Per i ode Dto ()) ĊĊĠ Ġfun Ġh ent Per i ode ( peri ode Id : ĠInt ) Ġ= Ġpersistence Service . h ent Per i ode ( peri ode Id ) ĊĊĠ Ġfun Ġh ent Alle Period er For St on ad send ring ( ston ad send ring Id : ĠInt ) Ġ= Ġpersistence Service . h ent Alle Period er For St on ad send ring ( ston ad send ring Id ) Ċ } Ċ