This[
^] should help in inserting the rows in the database (assuming it is SQL database).
Your webservice should expose a method that will take in the values to insert in form of a class object with relevant properties that will map to database columns. These values can be used as parameter for the command object and saved in the database.