public ActionResult Create(DivingCentreModel divingsitemodel)
        {
            if (Roles.IsUserInRole("Organization"))
            {

                if (ModelState.IsValid)
                {
                    db.DivingSite.Add(divingsitemodel);
                    db.SaveChanges();
                    return RedirectToAction("Index");
                }

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