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

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