Rotate function on c#

I want to do a Rotate function on c#.I try use transform.rotate neither java script,but i want to use get axis.What i can do?

I try: input = new Vector3(Rotate)(Input.GetAxis(rotate1),0,0)* velocity;
			rigidbody.velocity = input;
I try:input = transfrom.translate(Input.GetAxis(rotate1),0,0)* velocity;
			rigidbody.velocity = input;
I try:input = new Vector3 transform.translate(Input.GetAxis(rotate1),0,0)* velocity;
			rigidbody.velocity = input;

HELP PLEASE

transform.Rotate(Input.GetAxis(“Vertical”), Input.GetAxis(“Horizontal”), 0f);
Do you mean something like this ?