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