public Boolean DeletarJogador()
 {
     try
     {
         using (var _context = new Show_de_PerguntasEntities())
         {
             Usuario usuario = (from u in _context.Usuarios where u.IdUsuario.Equals(this.IdUsuario) select u).First();
             _context.DeleteObject(usuario);
             _context.SaveChanges();
         }
         return true;
     }
     catch (Exception)
     {
         return false;
         //throw;
     }
 }
 public Boolean RemoverJogadorRanking()
 {
     try
     {
         using (var _context = new Show_de_PerguntasEntities())
         {
             Ranking ranking = (from r in _context.Rankings where r.Usuario.IdUsuario.Equals(this.IdUsuario) select r).FirstOrDefault();
             if (ranking != null)
             {
                 _context.DeleteObject(ranking);
                 _context.SaveChanges();
             }
         }
         return true;
     }
     catch (Exception)
     {
         return false;
         //throw;
     }
 }
 public Boolean ZerarRanking()
 {
     try
     {
         using (var _context = new Show_de_PerguntasEntities())
         {
             List<Ranking> ranking = _context.Rankings.ToList();
             foreach (Ranking r in ranking)
             {
                 _context.DeleteObject(r);
                 _context.SaveChanges();
             }
         }
         return true;
     }
     catch (Exception)
     {
         return false;
         //throw;
     }
 }
 public Boolean DeletarPergunta()
 {
     try
     {
         using (var _context = new Show_de_PerguntasEntities())
         {
             Pergunta pergunta = (from p in _context.Perguntas where p.IdPergunta.Equals(this.idPergunta) select p).First();
             _context.DeleteObject(pergunta);
             _context.SaveChanges();
         }
         return true;
     }
     catch (Exception)
     {
         return false;
         //throw;
     }
 }