public ActionResult DeleteConfirmed(int id)
        {
            Print_Software print_Software = db.Print_Software.Find(id);

            db.Print_Software.Remove(print_Software);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "Id,Name,Solution_Id")] Print_Software print_Software)
 {
     if (ModelState.IsValid)
     {
         db.Entry(print_Software).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.Solution_Id = new SelectList(db.Solutions, "Id", "Name", print_Software.Solution_Id);
     return(View(print_Software));
 }
        public ActionResult Create([Bind(Include = "Id,Name,Solution_Id")] Print_Software print_Software)
        {
            if (ModelState.IsValid)
            {
                db.Print_Software.Add(print_Software);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            ViewBag.Solution_Id = new SelectList(db.Solutions, "Id", "Name", print_Software.Solution_Id);
            return(View(print_Software));
        }
        // GET: Print_Software/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Print_Software print_Software = db.Print_Software.Find(id);

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

            if (print_Software == null)
            {
                return(HttpNotFound());
            }
            ViewBag.Solution_Id = new SelectList(db.Solutions, "Id", "Name", print_Software.Solution_Id);
            return(View(print_Software));
        }