Actions

can i use two renderactions or redirect action in a defination

Nope - one call to an action (i.e. one HTTP request) can only result in
a single response (render or redirect).

Fred