Ejemplo n.º 1
0
 // GET: Formulas/Create
 public ActionResult Create()
 {
     ViewBag.Sidebar = true;
     ViewBag.ActiveSidebar = "Formulas";
     ViewBag.LinkedFormulaID = new SelectList(db.Formulas, "FormulaID", "Name");
     ChartType chartTypes = new ChartType();
     ViewBag.ChartType = chartTypes.ToSelectList();
     UnitEnum unitEnum = new UnitEnum();
     ViewBag.Unit = unitEnum.ToSelectList();
     return View();
 }