I have a handler which is responsible for creating a new record in db.It takes params from the POST requests and adds a new record to database.That helper is defined below:<