Create ajax call updating partial views

It is called from view using onclick.
controller should ascept object if it doesnt work use each member of class as parameter.
Parameter name should be same