public ActionResult Detalhe(Guid id, bool r = false, int idc = 0)
        {
            CartaService service = new CartaService();
            Sorteio      retorno = new Sorteio();

            try
            {
                if (!r && idc > 0)
                {
                    service.ApagaSorteio(idc);
                }
                retorno = service.Carregar(id);
                if (retorno == null)
                {
                    retorno = service.Carregar(id);
                    if (retorno == null)
                    {
                        return(RedirectToAction("Index", "FlashCard", new { msg = "Não há mais cartas", msgtipo = enumTipoMensagem.sucesso }));
                    }
                }
            }
            catch (Exception ex)
            { }
            return(View(retorno));
        }
        public ActionResult Ver(int id)
        {
            Carta model = new Carta();

            try
            {
                CartaService service = new CartaService();
                model = service.Carregar(id);
            }
            catch (Exception ex)
            {
                return(RedirectToAction("Index", "Flashcards", new { msg = "Ocorreu um erro ao carregar essa carta.", msgtipo = enumTipoMensagem.erro }));
            }
            return(View(model));
        }