public int createTrading(int idOwner, int idBook) { Trading trading = new Trading() { idOwner = idOwner, idBook = idBook }; return(tradingdao.createTrading(trading)); }