public ActionResult Create(Operator op)
        {
            if (ModelState.IsValid)
            {
                _db.Operators.Add(op);
                _db.SaveChanges();
                return RedirectToAction("Index");
            }

            return PartialView(op);
        }
 public ActionResult Edit(Operator op)
 {
     if (ModelState.IsValid)
     {
         _db.Entry(op).State = EntityState.Modified;
         _db.SaveChanges();
         return RedirectToAction("Index");
     }
     return PartialView(op);
 }