public ActionResult Create(Enrolment enrolment)
        {
            if (ModelState.IsValid)
            {
                enrolment.SrudentCount = 0;
                enrolment.Status = "Available";
                db.Enrolments.Add(enrolment);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View("Index");
        }
        public ActionResult Edit(Enrolment enrolment)
        {
            if (ModelState.IsValid)
            {
                db.Entry(enrolment).State = EntityState.Modified;
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View("Index");
        }