public CampaignViewModel(Campaign campaign, ProjectViewModel parentProject) : base(parentProject, true) { this.campaign = campaign; }
/// <summary> /// Builds a <see cref="ProjectViewModel"/> with parent based on the data from a <see cref="Project"/> /// </summary> /// <param name="project">Entity which holds the data for this viewmodel.</param> /// <param name="parentProject">Entity which is the parent of the <see cref="Project"/>.</param> public ProjectViewModel(Project project, ProjectViewModel parentProject) : base(parentProject, true) { this.project = project; }