Demo entry 2352182

Code

   

Submitted by anonymous on Aug 07, 2015 at 14:14
Language: C#. Code size: 293 Bytes.

public class PedidosController : Controller
{
    //
    // GET: /pedidos/
 
    public ActionResult Index()
    {
        var pedidoRepositorio = new PedidoRepository();
            
        var pedidos = pedidoRepositorio.ObterTodos();
 
        return View(pedidos);
    }
 
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).