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; }
public RequirementStatusController(IRequirementStatusService service) : base(service) { }
public RequirementStatusesController(IRequirementStatusService reqStat) { this._reqStat = reqStat; }