public ActionResult Details(DetailsReadmissionForm _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 = "Readmission";
                    db.notes.AddObject(_model._NewNote);
                    db.SaveChanges();

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

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

            return View(_model);
        }
 //
 // GET: /Readmission/Details/5
 /// <summary>
 /// Displays all information to the user. Acts as Main view for the form.
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public ActionResult Details(Guid id)
 {
     try
     {
         if (id != null)
         {
             applicationForReadmission applicationforreadmission = db.applicationForReadmissions.Single(a => a.readmissionid == id);
             issue issue = db.issues.Single(i => i.issueid == applicationforreadmission.issueid);
             student student = db.students.Include("program").Single(s => s.studentid == issue.studentid);
             DetailsReadmissionForm Model = new DetailsReadmissionForm() { _applicationForReadmission = applicationforreadmission, _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");
     }
 }