The way to find equation of tangent line of a parabola that has equation $y=Ax^{2}+Bx+C$ and parallel to $Ay=Bx+C$ line is by using $y^{'}=\tfrac{B}{A}$ and some further steps with $y^{'}$ is first-derivative and $\tfrac{B}{A}$ is gradient/slope.
But I've read in my textbook wrote that if a parabola equation is $y^{2}=4px$, the tangent line of parabola equation that parallel to $Ay=Bx+C$ line is $y=mx+\tfrac{p}{m}$ with $m$ is gradient/slope.
Are they have same solutions (to find equation of tangent line) or they have different concepts?