public ActionResult Create(Series series)
        {
            if (ModelState.IsValid)
            {
                db.Series.Add(series);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            ViewBag.PublisherID = new SelectList(db.Publishers, "PublisherID", "name", series.PublisherID);
            return View(series);
        }
 public ActionResult Edit(Series series)
 {
     if (ModelState.IsValid)
     {
         db.Entry(series).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.PublisherID = new SelectList(db.Publishers, "PublisherID", "name", series.PublisherID);
     return View(series);
 }