package Ġcom . y app . gil job . domain . road map . api Ċ Ċ import Ġcom . y app . gil job . domain . road map . application . Road map Sc rap Service Ċ import Ġcom . y app . gil job . domain . user . domain . User Ċ import Ġcom . y app . gil job . global . common . annotation . CurrentUser Ċ import Ġcom . y app . gil job . global . common . dto . Base Response Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . http . Response Entity Ċ import Ġorg . springframework . web . bind . annotation .* Ċ Ċ @ RestController Ċ @ RequestMapping ("/ api / road maps ") Ċ class ĠRoad map Sc rap Controller ( ĊĠĠĠ Ġprivate Ġval Ġroad map Sc rap Service : ĠRoad map Sc rap Service Ċ ) Ġ{ ĊĠĠĠ Ġ@ PostMapping ("/ { road map Id }/ scrap ") ĊĠĠĠ Ġfun Ġscrap (@ PathVariable Ġroad map Id : ĠLong , Ġ@ CurrentUser Ġuser : ĠUser ): ĠResponseEntity < Base Response < Unit >> Ġ{ ĊĠĠĠĠĠĠĠ Ġroad map Sc rap Service . scrap ( road map Id , Ġuser ) ĊĠĠĠĠĠĠĠ Ġreturn ĠResponseEntity . ok ( Base Response . of ( HttpStatus . OK , Ġ" ë¡ľ ëĵľ ë§ µ ĠìĬ¤ íģ¬ ëŀ © ĠìĦ± ê³µ ìŀħëĭĪëĭ¤ .")) ĊĠĠĠ Ġ} Ċ }