public ActionResult DeleteConfirmed(int id)
        {
            OverallProficiencyScale overallProficiencyScale = db.OverallProficiencyScales.Find(id);

            db.OverallProficiencyScales.Remove(overallProficiencyScale);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "ID,Scale,Description,StudentID")] OverallProficiencyScale overallProficiencyScale)
 {
     if (ModelState.IsValid)
     {
         db.Entry(overallProficiencyScale).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.StudentID = new SelectList(db.Students, "ID", "LastName", overallProficiencyScale.StudentID);
     return(View(overallProficiencyScale));
 }
        // GET: OverallProficiencyScales/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            OverallProficiencyScale overallProficiencyScale = db.OverallProficiencyScales.Find(id);

            if (overallProficiencyScale == null)
            {
                return(HttpNotFound());
            }
            return(View(overallProficiencyScale));
        }
        // GET: OverallProficiencyScales/Edit/5
        public ActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            OverallProficiencyScale overallProficiencyScale = db.OverallProficiencyScales.Find(id);

            if (overallProficiencyScale == null)
            {
                return(HttpNotFound());
            }
            ViewBag.StudentID = new SelectList(db.Students, "ID", "LastName", overallProficiencyScale.StudentID);
            return(View(overallProficiencyScale));
        }