I have created function and procedures in PostgreSQL database. Now I would like to use the function in my controller.