public ActionResult DeleteConfirmed(int id)
        {
            //assignment assignment = db.assignments.Find(id);
            //db.assignments.Remove(assignment);
            //db.SaveChanges();
            assignment assignment = db.assignments.SingleOrDefault(a => a.assignment_id == id);

            db.Delete(assignment);
            return(RedirectToAction("Index"));
        }