public ActionResult Create(DivingResortModel divingresortmodel)
        {
            if (Roles.IsUserInRole("Organization"))
            {
                if (ModelState.IsValid)
                {
                    db.DivingResort.Add(divingresortmodel);
                    db.SaveChanges();
                    return RedirectToAction("Index");
                }

                return View(divingresortmodel);
            }
            else
            {
                return RedirectToAction("Index", "Home", null);
            }
        }
 public ActionResult Edit(DivingResortModel divingresortmodel)
 {
     if (Roles.IsUserInRole("Organization"))
     {
         if (ModelState.IsValid)
         {
             db.Entry(divingresortmodel).State = EntityState.Modified;
             db.SaveChanges();
             return RedirectToAction("Index");
         }
         return View(divingresortmodel);
     }
     else
     {
         return RedirectToAction("Index", "Home", null);
     }
 }