public ActionResult Edit(Token entity)
 {
     if (ModelState.IsValid)
     {
         db.Entry<Token>(entity).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View();
 }
 public ActionResult Create(Token entity)
 {
     if (ModelState.IsValid)
     {
         db.Set<Token>().Add(entity);
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View();
 }