I am trying to create controller actions which will return either JSON or partial html depending upon a parame