public ActionResult Details(DetailsLateEnrollementModel _model)
        {
            if (ModelState.IsValid)
            {
            try
            {
                Guid? id = _model._NewNote.formid;
                _model._NewNote.noteid = Guid.NewGuid();
                _model._NewNote.employeeid = User.Identity.Name;
                _model._NewNote.dates = DateTime.Now;
                _model._NewNote.controller = "LateEnrollment";
                db.notes.AddObject(_model._NewNote);
                db.SaveChanges();

                return RedirectToAction("Details", new { id = id });

            }
            catch (Exception)
            {
                return RedirectToAction("Index", "Issue");
            }
            }

            return View(_model);
        }
 //
 // GET: /LateEnrollment/Details/5
 /// <summary>
 /// Gets a single entry by an ID
 /// </summary>
 /// <param name="id">EnrollementID</param>
 /// <returns></returns>
 public ActionResult Details(Guid id)
 {
     try
     {
         if (id != null)
         {
             requestForLateEnrolment requestforlateenrolment = db.requestForLateEnrolments.Single(r => r.enrolementid == id);
             issue issue = db.issues.Single(i => i.issueid == requestforlateenrolment.issueid);
             student student = db.students.Include("program").Single(s => s.studentid == issue.studentid);
             DetailsLateEnrollementModel Model = new DetailsLateEnrollementModel() { _requestForLateEnrolment = requestforlateenrolment, _student = student, _note = db.notes.Include("employee").Where(note => note.formid == id).OrderByDescending(f => f.dates), _employee = db.employees.Single(e => e.employeeid == User.Identity.Name), _date = DateTime.Now };
             return View(Model);
         }
         else
         {
             return RedirectToAction("Index", "Issue");
         }
     }
     catch (Exception)
     {
         return RedirectToAction("Index", "Issue");
     }
 }