public ActionResult DeleteConfirmed(int id)
        {
            CLASSIFICATIONs cLASSIFICATIONs = db.CLASSIFICATIONs.Find(id);

            db.CLASSIFICATIONs.Remove(cLASSIFICATIONs);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "ID,ARTWORK,GENRE")] CLASSIFICATIONs cLASSIFICATIONs)
 {
     if (ModelState.IsValid)
     {
         db.Entry(cLASSIFICATIONs).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.ARTWORK = new SelectList(db.ARTWORKs, "ID", "TITLE", cLASSIFICATIONs.ARTWORK);
     ViewBag.GENRE   = new SelectList(db.GENREs, "ID", "NAME", cLASSIFICATIONs.GENRE);
     return(View(cLASSIFICATIONs));
 }
        // GET: CLASSIFICATIONs/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            CLASSIFICATIONs cLASSIFICATIONs = db.CLASSIFICATIONs.Find(id);

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

            if (cLASSIFICATIONs == null)
            {
                return(HttpNotFound());
            }
            ViewBag.ARTWORK = new SelectList(db.ARTWORKs, "ID", "TITLE", cLASSIFICATIONs.ARTWORK);
            ViewBag.GENRE   = new SelectList(db.GENREs, "ID", "NAME", cLASSIFICATIONs.GENRE);
            return(View(cLASSIFICATIONs));
        }