public ActionResult Edit()
        {
            EnrollmentTypesRepository rep = new EnrollmentTypesRepository();

            ViewBag.KeyField = Request["ID"];
            return(View(rep.GetEnrollmentTypes()));
        }
        public ActionResult Edit(List <EnrollmentType> l)
        {
            l[0].UpdateYN = true;
            EnrollmentTypesRepository rep = new EnrollmentTypesRepository();

            rep.UpdEnrollmentTypes(l);
            return(View(rep.GetEnrollmentTypes()));
        }
        public ActionResult Add()
        {
            EnrollmentTypesRepository rep = new EnrollmentTypesRepository();

            return(View(rep.GetEnrollmentTypes()));
        }