public ProjectsInformationController(IProjectInformationService projectInformationService, IUnitOfWork unitOfWork) { _projectInformationService = projectInformationService ?? throw new ArgumentNullException(nameof(projectInformationService)); _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); }
public Analyzer(string[] args) { _configurationHelper = new ConfigurationHelper(); _configurationHelper.ValidateConfiguration(); _configurationHelper.SetConfigurationFromArgs(args); _auditService = new AuditService(_configurationHelper); _projectInformationService = new ProjectInformationService(); }
public void Setup() { _repository = Substitute.For <IProjectInformationRepository>(); _service = new ProjectInformationService(_repository); }
public void Setup() { _service = Substitute.For <IProjectInformationService>(); _unitOfWork = Substitute.For <IUnitOfWork>(); _controller = new ProjectsInformationController(_service, _unitOfWork); }
public ProjectOrderController(IProjectOrderService projectOriderService, IProjectInformationService projectInformationService) : base(projectOriderService) { this.projectOriderService = projectOriderService; this.projectInformationService = projectInformationService; }
public ProjectInformationController(IProjectInformationService projectInformationService, IHostingEnvironment appEnvironment) : base(projectInformationService) { this.projectInformationService = projectInformationService; this.appEnvironment = appEnvironment; }
public ProjectDailyReportController(IProjectDailyReportService projectDailyReportService, IProjectInformationService projectInformationService) : base(projectDailyReportService) { this.projectDailyReportService = projectDailyReportService; this.projectInformationService = projectInformationService; }
public ProjectCertificationController(IProjectCertificationService projectCertificationService, IProjectInformationService projectInformationService) : base(projectCertificationService) { this.projectCertificationService = projectCertificationService; this.projectInformationService = projectInformationService; }