How to compute voltage limits in n-MOS transistor?
Both are correct but for different conditions.  the first is linear gain with AC and DC while The second is used as a switch with the resistance depending on the difference between the Vgs and the threshold, Vt=Vgs(th)
Normally as a switch Vgs >= 2.5Vt for low RdsOn