public ActionResult Delete(int id, Categoria categoria)
 {
     try
     {
         var categoriaDAO = new CategoriaDAO();
         categoriaDAO.DeleteCategoria(id);
         this.AddFlashMessage("Registro excluido com sucesso!");
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }