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

            ViewBag.SquadStructure_idSquadStructure = new SelectList(db.squadstructure, "idSquadStructure", "idSquadStructure", season.SquadStructure_idSquadStructure);
            return View(season);
        }
 public ActionResult Edit(season season)
 {
     if (ModelState.IsValid)
     {
         db.Entry(season).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.SquadStructure_idSquadStructure = new SelectList(db.squadstructure, "idSquadStructure", "idSquadStructure", season.SquadStructure_idSquadStructure);
     return View(season);
 }