Given a function $f : \mathbb{R}^{n} \to \mathbb{R}$, its epigraph is defined as follows
$$ \operatorname{epi} f = \left\{ (x,t) \in \mathbb{R}^{n+1}: x \in \mathbb{R}^{n}, t \geq f(x) \right\} $$
Could someone please help me prove that a function is convex iff its epigraph is a convex set?