Exemplo n.º 1
0
 public ActionResult Detalhes(int Id)
 {
     try
     {
         var produtoRepository = new ProdutosRepository();
         var result            = produtoRepository.Carregar(Id);
         return(View(result));
     }
     catch (Exception ex)
     {
         throw;
     }
 }