Exemple #1
0
 public ProjectSummaryService(IDataContextFactory dataContextFactory, IProjectResourceService projectResourceService,
                              IGenericService genericService, IProjectComplaintService projectComplaintService, IPaymentDetailsService paymentDetailsService,
                              IChangeRequestDetailsService changeRequestDetailsService, IInfrastructureDetailsService infrastructureDetailsService,
                              IProjectService projectService, IProjectMappingService projectMappingService
                              )
 {
     this.context                  = dataContextFactory.Create(ConnectionType.Ip);
     _projectResourceService       = projectResourceService;
     _projectComplaintService      = projectComplaintService;
     _genericService               = genericService;
     _paymentDetailsService        = paymentDetailsService;
     _changeRequestDetailsService  = changeRequestDetailsService;
     _infrastructureDetailsService = infrastructureDetailsService;
     _projectService               = projectService;
     _projectMappingService        = projectMappingService;
 }
 public UserController(IProjectService projectService, IMappingService mappingService, IProjectSummaryService projectSummaryService,
                       ICookieHelper cookieHelper, IProjectResourceService projectResourceService, IActiveDirectoryService activeDirectoryService,
                       IProjectComplaintService projectComplaintService, IGenericService genericService, IPaymentDetailsService paymentDetailsService,
                       IChangeRequestDetailsService changeRequestDetailsService, IInfrastructureDetailsService infrastructureDetailsService,
                       IUserDashboardService userDashboardService, ITrackerHub itrackerHub
                       )
 {
     this._projectService               = projectService;
     this._mappingService               = mappingService;
     this._projectSummaryService        = projectSummaryService;
     this._cookieHelper                 = cookieHelper;
     this._projectResourceService       = projectResourceService;
     this._activeDirectoryService       = activeDirectoryService;
     this._projectComplaintService      = projectComplaintService;
     this._genericService               = genericService;
     this._paymentDetailsService        = paymentDetailsService;
     this._changeRequestDetailsService  = changeRequestDetailsService;
     this._infrastructureDetailsService = infrastructureDetailsService;
     this._userDashboardService         = userDashboardService;
     this._itrackerHub = itrackerHub;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectResourceServiceTest"/> class.
 /// </summary>
 public ProjectResourceServiceTest()
 {
     this.projectResourceService = new ProjectResourceService(this.mockProjectService.Object, this.mockMapper.Object);
 }