I have the following driver:
I need at the end to send you the invoices but paginated but to 20 ...
public ActionResult Index()
{
//se trae la informacion de la base de datos y/o modelo
var facturas = db.VwFacturasGeneralFull;
//por defecto el siguiente switch va ornedar por el sigueinte:
var facturasOrdenadas = facturas.OrderBy(f => f.IDFactura).ToList();
return View(facturasOrdenadas.ToList());
}
I have tried it in various ways but I do not succeed.