public ViewPageContentViewData(IFirmaPage firmaPage, bool showEditButton)
 {
     FirmaPageContentHtmlString = firmaPage.FirmaPageContentHtmlString;
     FirmaPageDisplayName       = firmaPage.FirmaPageDisplayName;
     ShowEditButton             = showEditButton;
     HasPageContent             = firmaPage.HasPageContent;
     EditPageContentUrl         = firmaPage.GetEditPageContentUrl();
 }
Esempio n. 2
0
 public DisplayPageContentViewData(Person currentPerson, IFirmaPage firmaPage, bool showEditButton) : base(currentPerson)
 {
     PageTitle = firmaPage.FirmaPageDisplayName;
     ViewWholePageContentViewData = new ViewPageContentViewData(firmaPage, showEditButton);
 }