private GestionCuenta getGestionCuenta() { if (gestioncuenta == null) { gestioncuenta = new GestionCuenta(); } return(gestioncuenta); }
//public ActionResult HistoricoPlanPagos(GestionPlanPlagos plan) //{ // if (plan.IdCredito == null) return View(); // ManagerGestionCartera manage = new ManagerGestionCartera(); // if (Session["agente"] == null) // return RedirectToAction("LogOff", "Login"); // var ret = manage.ConsultaPlanPagos(plan); // return Json(ret); //} public ActionResult conultar_Datos_creditos(GestionCuenta cuenta) { ManagerGestionCartera manage = new ManagerGestionCartera(); if (Session["agente"] == null) { return(RedirectToAction("LogOff", "Login")); } var ret = manage.consultaInformacionCuenta(cuenta); return(Json(ret)); }
public ActionResult consultarGridCreditos(GestionCuenta cuenta) { if (cuenta.IdCredito == null) { return(View()); } ManagerGestionCartera manage = new ManagerGestionCartera(); if (Session["agente"] == null) { return(RedirectToAction("LogOff", "Login")); } var ret = manage.consultaCritoCredito(cuenta); return(Json(ret)); }