Esempio n. 1
0
        public ActionResult cnfFrmEntregableRelacionVista(int id = 0)
        {
            try
            {
                if (ViewBag.GblnMensaje == null)
                {
                    ViewBag.GblnMensaje          = Convert.ToBoolean(Session["GblnMensaje"].ToString());
                    ViewBag.GstrMensajeRespuesta = Convert.ToString(Session["GstrMensajeRespuesta"].ToString());

                    #region cheating
                    cnfMNTpMetodologiaEntregable LobjEntregable = new cnfMNTpMetodologiaEntregable();
                    ViewBag.MTDnombre = LobjEntregable.mtdBuscar(id).MTDnombre;
                    #endregion
                }
            }
            catch
            {
            }
            ViewBag.GintCodigoEntregable         = id;
            ViewBag.GobjListarEntregable         = mtdCargarDatosSecundario(id);
            ViewBag.GobjListarEntregableRelacion = mtdCargarDatosSecundarioRelacion(id);
            Session["GblnMensaje"]          = false;
            Session["GstrMensajeRespuesta"] = "";
            Session["GintMNTcodigo"]        = id;
            return(View());
        }
Esempio n. 2
0
        public object mtdBuscar(int LintCodigo)
        {
            cnfMNTpMetodologiaEntregable LobjEntregable = new cnfMNTpMetodologiaEntregable();

            cnfMNTpMetodologiaEntregable.cnfMNTpMetodologiaEntregables LobjEntregables = LobjEntregable.mtdBuscar(LintCodigo);
            ViewBag.GobjListarFase = LobjEntregable.mtdCargarComboFase(LobjEntregables.MTDcodigo);
            return(LobjEntregable.mtdBuscar(LintCodigo));
        }