示例#1
0
        public ViewResult SelectTemplate()
        {
            var vm = new Models.SelectedTemplateViewModel();

            vm.Templates = _templateServices.GetAll();
            return(View(vm));
        }
示例#2
0
 public ActionResult SelectTemplate(Models.SelectedTemplateViewModel vm)
 {
     SessionHelper.Current.SelectedTemplateId = vm.SelectedTemplateId;
     return(RedirectToAction("Preview"));
 }