public ActionResult _modalGenerar(int i_idVenta) { string pDato = Convert.ToString(i_idVenta); Vta_VentaDA objVentaDA = new Vta_VentaDA(); Vta_VentaBE objVentaBE = new Vta_VentaBE(); foreach (Vta_VentaBE objVenta in objVentaDA.ListaRegistroVenta(1, pDato)) { objVentaBE = objVenta; } return(PartialView("_modalGenerar", objVentaBE)); }
public ActionResult ListarVenta(int _case, string filtro) { Vta_VentaDA objVentaDA = new Vta_VentaDA(); return(PartialView("ListarVenta", objVentaDA.ListaRegistroVenta(_case, filtro))); }