public ProjectSectionSimple(ProjectCreateSection projectCreateSection, string sectionUrl, bool isComplete, bool sectionIsUpdated, bool hasCompletionStatus) { SectionUrl = sectionUrl; IsComplete = isComplete; SectionIsUpdated = sectionIsUpdated; SectionDisplayName = projectCreateSection.ProjectCreateSectionDisplayName; SortOrder = projectCreateSection.SortOrder; HasCompletionStatus = hasCompletionStatus; ProjectWorkflowSectionGrouping = projectCreateSection.ProjectWorkflowSectionGrouping; }
protected string SetSelectedSectionStyle(ProjectCreateSection currentSection, ProjectCreateSection selectedProposalSection) { return(selectedProposalSection == currentSection ? "selected" : "selectable"); }