public ProteinService(ProteinDataContainer dataContainer, IProjectSummaryService projectSummaryService, ILogger logger) { _dataContainer = dataContainer; _projectSummaryService = projectSummaryService; _logger = logger ?? NullLogger.Instance; _collection = CreateProteinCollection(_dataContainer.Data); LastProjectRefresh = new Dictionary <int, DateTime>(); }
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; }