A New Approach for a Class of Optimal Control Problems of Volterra Integral Equations