public ActionResult Create(movieProfile movie)
        {
            if (ModelState.IsValid)
            {
                movie.upVote = 0;
                movie.downVote = 0;
                db.movieProfiles.Add(movie);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(movie);
        }
 public ActionResult Edit(movieProfile movieprofile)
 {
     if (ModelState.IsValid)
     {
         movieProfile movie = db.movieProfiles.Find(movieprofile.name);
         db.Entry(movie).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(movieprofile);
 }