package Ġcom . tester um . web _ backend . controllers . feedback Ċ Ċ import Ġcom . tester um . model . feedback . Error Feedback Ċ import Ġcom . tester um . model . feedback . Feedback Ċ import Ġcom . tester um . web _ backend . services . feedback . Feedback Frontend Service Ċ import Ġorg . springframework . web . bind . annotation .* Ċ Ċ @ RestController Ċ @ RequestMapping ("/ feedback ") Ċ open Ġclass ĠFeedback Controller ( private Ġval Ġfeedback Frontend Service : ĠFeedback Frontend Service ) Ġ{ ĊĊĠĠĠ Ġ@ RequestMapping Ġ( method Ġ= Ġ[ Request Method . POST ]) ĊĠĠĠ Ġ@ ResponseBody ĊĠĠĠ Ġfun Ġsend Feedback (@ RequestBody Ġfeedback : ĠFeedback ): ĠFeedback Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfeedback Frontend Service . send Feedback ( feedback ); ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ RequestMapping Ġ( method Ġ= Ġ[ Request Method . POST ], Ġ Ġpath Ġ= Ġ[" error "]) ĊĠĠĠ Ġ@ ResponseBody ĊĠĠĠ Ġfun Ġsave Error Feedback (@ RequestBody Ġerror Feedback : ĠError Feedback ): ĠError Feedback Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfeedback Frontend Service . send Error Feedback ( error Feedback ) ĊĠĠĠ Ġ} Ċ } Ċ