public ActionResult Edit(Simple simple)
 {
     if (ModelState.IsValid)
     {
         db.Entry(simple).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(simple);
 }
        public ActionResult Create(Simple simple)
        {
            if (ModelState.IsValid)
            {
                db.Simples.Add(simple);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(simple);
        }