// GET: Cate public ActionResult Index() { var repository = new SublineaServices(); ViewBag.linea = repository.listsublineas(); return(View()); }
public JsonResult updateandSaveData(int tipo, int id, String sublinea, int idlinea) { var repository = new SublineaServices(); var listParameters = repository.updateandSaveData(tipo, id, sublinea, idlinea); return(Json(listParameters, JsonRequestBehavior.AllowGet)); }
public JsonResult chargeParameters() { var repository = new SublineaServices(); var listParameters = repository.listsublineas(); return(Json(listParameters, JsonRequestBehavior.AllowGet)); }
// GET: Filtro public ActionResult Index() { var repository = new SublineaServices(); ViewBag.subline = repository.listsublineas(); var repository2 = new LineaServices(); ViewBag.line = repository2.listmaterias(); return(View()); }