public ActionResult vpGrillaListar(string id, string cantidad, string campoOrden, string nombre, string jefe, string fechaINI, string fechaFIN, string estado) { String sError = ""; ListarCotizaciones oCot = new ListarCotizaciones(); oCot.CargarGrilla(id, cantidad, campoOrden, nombre, jefe, fechaINI, fechaFIN, estado, out sError); ViewBag.Error = sError; return(PartialView(oCot)); }
// GET: Cotizacion public ActionResult Listar() { String sError = ""; ListarCotizaciones oCot = new ListarCotizaciones(); oCot.Cargar(out sError); ViewBag.Error = sError; return(View(oCot)); }