// GET: Sublinea
        public ActionResult Index()
        {
            var repository = new LineaServices();

            ViewBag.linea = repository.listmaterias();
            return(View());
        }
        public JsonResult chargeParameters()

        {
            var repository     = new LineaServices();
            var listParameters = repository.listmaterias();

            return(Json(listParameters, JsonRequestBehavior.AllowGet));
        }