public ActionResult Create(Rol rol)
        {
            if (ModelState.IsValid)
            {
                db.Roles.Add(rol);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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