public ActionResult Excluir(int IdRegistro)
        {
            Registro reg = _dao.Buscar(IdRegistro);

            try
            {
                _dao.Excluir(IdRegistro);
                LogINFO(this.ToString(), "Excluir registro: " + LAB5Utils.ReflectionUtils.GetObjectDescription(reg));
                return(RedirectToAction("Index"));
            }catch (Exception ex)
            {
                Alert(ex.Message);
                LogWARN(this.ToString(), "Excluir registro: " + LAB5Utils.ReflectionUtils.GetObjectDescription(reg) + ex.Message);
                ViewBag.Erro = ex.Message;
            }
            return(View("Index"));
        }