public ProjectsController( IProjectService projectService, IUserService userService, IArtifactRequirementTraceabilityMatrixService artifactMatrix, IRequirementService requirementService, IStakeholdersProjectService stakeholders, IProjectArtifactService projectArtifact, IProjectPhasesService phasesService, IHistoryProjectService historyProjectService, IRequirementTraceabilityMatrixService matrixService, IScanDirectoryService directory, IRequirementDocumentService reqDocument) : base(projectService) { this.artifactMatrix = artifactMatrix; this.reqDocument = reqDocument; this.requirementService = requirementService; this.matrixService = matrixService; this.stakeholders = stakeholders; this.projectArtifact = projectArtifact; this.historyProjectService = historyProjectService; this.directory = directory; this.projectService = projectService; ViewData.Add("ProjectPhasesID", new SelectList(phasesService.getAll(), "ProjectPhasesID", "description")); ViewData.Add("CreationUserID", new SelectList(userService.getAll(), "UserID", "name")); }
public LinkBetweenRequirementsArtifactController( ILinkBetweenRequirementsArtifactsService linkService, IService <ProjectArtifactEntity> artifactService, IRequirementService requirementService, IService <UserEntity> userService, IService <TypeLinkEntity> typeService, IArtifactRequirementTraceabilityMatrixService matrix) : base(linkService) { this.typeService = typeService; this.artifactService = artifactService; this.matrix = matrix; this.linkService = linkService; this.requirementService = requirementService; }