public ActionResult EditStaticPage(Guid pageId)
        {
            var staticPageUnit = DataAccessLayer.Get<StaticPageUnit>(x => x.Id == pageId).First();

            var entry = new StaticPage();
            var binder = new StaticPageToStaticPageUnit();
            binder.InverseLoad(staticPageUnit, entry);
            return View(entry);
        }
        public ActionResult IndexStaticPage(string code)
        {
            var staticPage = DataAccessLayer.Get<StaticPageUnit>(x => x.Code == code);
            if (staticPage.Count().Equals(0))
            {
                return HttpNotFound("Page not found");
            }

            var binder = new StaticPageToStaticPageUnit();
            var entry = new StaticPage();
            binder.InverseLoad(staticPage.First(), entry);
            return PartialView(entry);
        }