package Ġcom . m ue ll erm or itz . spring . controller Ċ Ċ import Ġcom . m ue ll erm or itz . spring . service . Day Service Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . ui . Model Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ @ RequestMapping ("/ days ") Ċ class ĠDay Controller Ġ{ ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġlateinit Ġvar Ġservice : ĠDay Service ĊĊĊĠĠĠ Ġ@ GetMapping ("/ days ") ĊĠĠĠ Ġfun Ġday Summary ( model : ĠModel ): ĠString Ġ{ Ċ // ĠĠĠĠĠĠĠ Ġmodel [" title "] Ġ= Ġ" Blog " ĊĠĠĠĠĠĠĠ Ġreturn Ġservice . available Days (). toString () ĊĠĠĠ Ġ} Ċ }