コード例 #1
0
 public ActionResult ListaTrivia()
 {
     if (Session["sessionEmail"] != null)
     {
         var Trivia = new Trivia();
         return(View(Trivia.ListaTrivias()));
     }
     else
     {
         return(Redirect("/"));
     }
 }