예제 #1
0
 /// <summary>
 /// Constructor used to inject the requirement repository.
 /// </summary>
 public RequirementService(IRequirementsRepository _requirementRepository, ITaskRepository _taskRepository)
 {
     this.requirementRepository = _requirementRepository;
     this.taskRepository        = _taskRepository;
 }
예제 #2
0
 public RequirementsService(IRequirementsRepository requirementsRepository, IMapper mapper)
 {
     _requirementsRepository = requirementsRepository;
     _mapper = mapper;
 }
예제 #3
0
 /// <summary>
 /// Constructor used to inject dependencies.
 /// </summary>
 /// <param name="_requirementRepository">Requirement repository dependency.</param>
 /// <param name="_projectRepository">Project repository dependency.</param>
 public StatisticService(IRequirementsRepository _requirementRepository, IProjectRepository _projectRepository)
 {
     this.requirementRepository = _requirementRepository;
     this.projectRepository     = _projectRepository;
 }
예제 #4
0
 /// <summary>
 /// Constructor used to inject projects repository, Resources, and context.
 /// </summary>
 /// <param name="_exampleRepository">Example repository to be injected.</param>
 public ProjectService(IProjectRepository _projectsRepository, IRequirementsRepository _requirementRepository)
 {
     this.projectsRepository    = _projectsRepository;
     this.requirementRepository = _requirementRepository;
 }