You could split this into two partial views (one for session submission, one for session voting) and then have all the logic in the Controller action.