code for sending data to person table from UI
code for sending data to the database table

Person Details