When surfing the wiki, I found the definition of Quasi-Frobenius rings
$R$ is quasi-Frobenius if and only it satisfies the following equivalent conditions:
All right (or all left) R modules which are projective are also injective.
All right (or all left) R modules which are injective are also projective.
Then, it mentions that the quotient ring $\frac{\mathbb{Z}}{n\mathbb{Z}}$ is QF for any positive integer $n>1$. But how to prove this directly by using the above definition?