public ActionResult Documentos(long IdProgramacion) { //Session["IdClaseDocumento"] = IdClaseDocumento; //Session["modId"] = modId; //long IdModulo = IdTipoDocumento * 1000000; ProgramacionModel reg = Metodos.GetEditableProgramacion(IdProgramacion); //model.IdModuloActual = modId; //model.IdModulo = IdModulo; //model.PageTitle = Metodos.GetModuloName(modId); //model.IdClaseDocumento = (int)IdClaseDocumento; //model.returnPage = Url.Action("Index", "Documento", new { IdTipoDocumento, modId }); //model.IdEmpresa = long.Parse(Session["IdEmpresa"].ToString()); //ViewBag.Title = string.Format("{0} - {1}", model.PageTitle, Resources.BCMWebPublic.labelAppTitle); ProgramacionDocumentoModel model = new ProgramacionDocumentoModel { IdModulo = reg.IdModuloProgramacion, }; return(View(model)); }
public ActionResult Documentos(ProgramacionDocumentoModel model) { return(View(model)); }