public IActionResult Index()
        {
            IndexViewModel model = new IndexViewModel();

            model.PageData = _cMSIndexRepository.Get(1);

            return(View(model));
        }
 public IActionResult CMSIndexPage()
 {
     CMSIndexViewModel model = new CMSIndexViewModel();
     model.Page = _cMSIndexRepository.Get(1);
     model.Photo1 = null;
     model.Photo2 = null;
     model.Photo3 = null;
     return View(model);
 }