the front end needs to pass two parameters to the backend, one id, and one type,. I encapsulated these two parameters into an object and each time the id failed to pass. If it is not encapsulated, how can I pass the two parameters to the backend (the id comes from I click on a line of a table and the id,type is the defined type)