example of gathering data from view and sending to controller