public ActionResult Edit(Site site)
 {
     if (ModelState.IsValid)
     {
         dbLayer.Save<Site>(site);
         return RedirectToAction("Index");
     }
     return View(site);
 }
        public ActionResult Create(Site site)
        {
            if (ModelState.IsValid)
            {
                site.ContentId = Guid.NewGuid();
                site.CreatedOn = DateTime.Now;
                site.CreatedBy = -1;
                dbLayer.Save<Site>(site);
                return RedirectToAction("Index");
            }

            return View(site);
        }