Exemplo n.º 1
0
        public ActionResult About()
        {
            var model = new ContentModel();

            using (var db = new DataDBContext())
            {
                var about = db.Items.Find(Guid.Parse("795D793B-2F0B-47C2-A22E-C9AC099DDDAF"));
                model.Body = about.Content01;
            }

            return View(model);
        }
Exemplo n.º 2
0
        public ActionResult Services()
        {
            var model = new ContentModel();

            using (var db = new DataDBContext())
            {
                var service = db.Items.Find(Guid.Parse("27F9C104-1AAD-49B2-86C7-592A360DB7E5"));
                model.Body = service.Content01;
            }

            return View(model);
        }
Exemplo n.º 3
0
 public GalleryViewModel()
 {
     Images = new List<MasonryImage>();
     Content = new ContentModel();
 }