This isn't exactly what you asked for, but in the interest of making the method more compact, perhaps try this:
public enum Direction
{
Left = -90,
Right = 90,
Forward =0,
Back = 180
}
private void Move(Direction direction)
{
transform.Rotate(0,(int)direction,0);
transform.Translate(Vector3.forward, Space.Self);
}