pass parameters to action, and get data from model