public ActionResult Reporte(Models.FormaGeometrica.Form model) { try { List <Models.FormaGeometrica.FormaEdit> formaCollectionLst = new List <Models.FormaGeometrica.FormaEdit>(); model.GetForma(formaCollectionLst); return(View(model)); } catch (Exception ex) { // Common.LogAndShowError(ex, "Error al guardar Workflow, por favor intente nuevamente"); } return(View(model)); }
public ActionResult Form() { Models.FormaGeometrica.Form model = new Models.FormaGeometrica.Form(); try { Models.FormaGeometrica.FormaEdit figuraModel = new Models.FormaGeometrica.FormaEdit(); figuraModel.FormaId = Guid.NewGuid(); FillSelectList(figuraModel); model.ListaFigura.Add(figuraModel); return(View(model)); } catch (Exception ex) { // Common.LogAndShowError(ex, "Error al cargar, por favor intente nuevamente"); } return(View(model)); }