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

            return View(studioreg);
        }
 public ActionResult Edit(StudioReg studioreg)
 {
     if (ModelState.IsValid)
     {
         db.Entry(studioreg).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(studioreg);
 }