Example #1
0
 public CmsPageViewModel(IWebsite website, IList<Template> templates)
     : base(website)
 {
     this._page = new Portal.Web.Areas.CMS.Models.PageViewModel(templates);
     this._templates = templates;
 }
Example #2
0
 public CmsPageViewModel(IWebsite website, PageViewModel pageViewModel, IList<Template> templates)
     : base(website)
 {
     this._page = pageViewModel;
     pageViewModel.AddTemplates(templates);
 }
Example #3
0
 public CmsPageViewModel(IWebsite website, IPage page)
     : base(website)
 {
     this._page = new Portal.Web.Areas.CMS.Models.PageViewModel(page);
 }