public ActionResult ApplyPagos(Pagos model) { getCookies(); PagosManager pagos = new PagosManager(); pagos.HacerPago(model, userIdLogged); return(RedirectToAction("ModuloPagoCouriers")); }
public ActionResult ApplyPagos(int no_id) { getCookies(); var model = new Pagos() { no_id = no_id }; PagosManager pagos = new PagosManager(); pagos.HacerPago(model, userIdLogged); return(View(model)); }