package Ġio . github . blue ground l td . app . booking Ċ Ċ import Ġio . github . blue ground l td . app . booking . dto . Create Booking DTO Ċ import Ġio . mic ronaut . http . HttpResponse Ċ import Ġio . mic ronaut . http . HttpStatus Ċ import Ġio . mic ronaut . http . annotation .* Ċ import Ġio . mic ronaut . scheduling . Task Executors Ċ import Ġio . mic ronaut . scheduling . annotation . Execute On Ċ Ċ @ Execute On ( Task Executors . IO ) Ċ @ Controller ("/ api / booking ") Ċ class ĠBook ing Controller ( ĊĠ Ġprivate Ġval Ġbooking Relational Service : ĠBook ing Relational Service , ĊĠ Ġprivate Ġval Ġbooking Non Relational Service : ĠBook ing Non Relational Service Ċ ) Ġ{ ĊĊĠ Ġ@ Post ( value Ġ= Ġ"/ book ") ĊĠ Ġ@ Status ( HttpStatus . CREATED ) ĊĠ Ġfun Ġcreate Booking (@ Body Ġcreate Booking DTO : ĠCreate Booking DTO ): ĠHttpResponse < Any > Ġ{ ĊĠĠĠ Ġbooking Relational Service . book ( booking DTO Ġ= Ġcreate Booking DTO ) ĊĠĠĠ Ġbooking Non Relational Service . book ( booking DTO Ġ= Ġcreate Booking DTO ) ĊĠĠĠ Ġreturn ĠHttpResponse . status ( HttpStatus . CREATED ) ĊĠ Ġ} ĊĊĠ Ġ@ Post ( value Ġ= Ġ"/ create - fixture - data ") ĊĠ Ġ@ Status ( HttpStatus . CREATED ) ĊĠ Ġfun Ġfill Fixture Data (): ĠHttpResponse < Any > Ġ{ ĊĠĠĠ Ġbooking Relational Service . fill Fixture Data () ĊĠĠĠ Ġbooking Non Relational Service . fill Fixture Data () ĊĠĠĠ Ġreturn ĠHttpResponse . status ( HttpStatus . CREATED ) ĊĠ Ġ} Ċ } Ċ