package Ġmicro service . workshop . movie award service . http Ċ Ċ import Ġmicro service . workshop . movie award service . data . A ward Repository Ċ import Ġorg . springframework . http . Response Entity Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestParam Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ @ RequestMapping ("/ award ") Ċ class ĠA ward Controller ( private Ġval Ġrepository : ĠA ward Repository ) Ġ{ ĊĠĠĠ Ġ@ GetMapping ("/ search ") ĊĠĠĠ Ġfun Ġsearch (@ RequestParam (" movie Id ") Ġmovie Id : ĠInt ) Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠResponseEntity . ok ( repository . findBy Movie Id ( movie Id )) Ċ } Ċ