Dao code for creating the request