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

            ViewBag.PlatformId = new SelectList(db.Platforms, "Id", "Name", label.PlatformId);
            return View(label);
        }
 public ActionResult Edit(Label label)
 {
     if (ModelState.IsValid)
     {
         db.Entry(label).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.PlatformId = new SelectList(db.Platforms, "Id", "Name", label.PlatformId);
     return View(label);
 }