public RequirementDocumentService( IRequirementService requirementService, IProjectService projectService, IStakeholdersProjectService stakeholderProjectService, IStakeholderRequirementService stakeholderRequirementService) { this.stakeholderRequirementService = stakeholderRequirementService; this.stakeholderProjectService = stakeholderProjectService; this.projectService = projectService; this.requirementService = requirementService; }
public StakeholderRequirementController( IStakeholderRequirementService service, IRequirementService requirementService, IStakeholdersProjectService stakeholderProjectService) : base(service) { this.service = service; this.requirementService = requirementService; this.stakeholderProjectService = stakeholderProjectService; ViewData.Add("StakeholdersProjectID", new SelectList(stakeholderProjectService.getAll(), "StakeholdersProjectID", "DisplayName")); ViewData.Add("RequirementID", new SelectList(requirementService.getAll(), "RequirementID", "DisplayName")); }
public RequirementRequestForChangesController( IRequirementRequestForChangesService service, IStakeholderRequirementService stakeholderRequirement, IStakeholderRequirementApprovalService stakeholders, IRequestStatusService status, IStakeholdersProjectService stakeholderProject, IRequirementService requirement) : base(service) { this.stakeholderProject = stakeholderProject; this.stakeholderRequirement = stakeholderRequirement; this.requirement = requirement; this.stakeholders = stakeholders; this.service = service; ViewData.Add("RequestStatusID", new SelectList(status.getAll(), "RequestStatusID", "description")); }
public StakeholderRequirementApprovalController( IStakeholderRequirementApprovalService service, IStakeholdersService stakeholder, IRequirementService requirement, IStakeholderRequirementService stakeholderRequirementService, IStakeholdersProjectService stakeholderProjectService, IProjectService projectService) : base(service) { this.stakeholderProjectService = stakeholderProjectService; this.stakeholderRequirementService = stakeholderRequirementService; this.requirement = requirement; this.service = service; this.stakeholder = stakeholder; ViewBag.ProjectID = new SelectList(projectService.getAll(), "ProjectID", "DisplayName"); }
public RequirementController( IRequirementService requirementService, IStakeholderRequirementService stakeholderRequirementService, IImportanceService measureService, IRequirementDocumentService reqDocument, IRequirementSubTypeService subTypeService, IRequirementStatusService statusService, IRequirementTypeService typeService, IRequirementCharacteristicsService reqCharacteristics, IUserService userService, IRequirementVersionsService versions, IRequirementRequestForChangesService requestService, IRequirementVersionsService rationaleService, ILinkBetweenRequirementsService linkRequirementService, ILinkBetweenRequirementsArtifactsService linkReqArtifactService, IStakeholdersProjectService stakeholdersProject, IStakeholderRequirementApprovalService stakeholdersRequirement, IRequirementTemplateService templateService, IStakeholderRequirementApprovalService stakeholderApproval, IProjectService projectService) : base(requirementService) { Mapper.Initialize(cfg => { cfg.CreateAutomaticMapping <RequirementViewModel, RequirementEntity>(); cfg.CreateAutomaticMapping <RequirementEntity, RequirementViewModel>(); }); this.stakeholderRequirementService = stakeholderRequirementService; this.reqDocument = reqDocument; this.stakeholderApproval = stakeholderApproval; this.versions = versions; this.subTypeService = subTypeService; this.requestService = requestService; this.stakeholdersRequirement = stakeholdersRequirement; this.reqCharacteristics = reqCharacteristics; this.requirementService = requirementService; this.templateService = templateService; this.stakeholdersProject = stakeholdersProject; this.userService = userService; this.measureService = measureService; this.projectService = projectService; this.statusService = statusService; this.typeService = typeService; this.linkRequirementService = linkRequirementService; this.linkReqArtifactService = linkReqArtifactService; this.rationaleService = rationaleService; }