public ProjectMetricService(JazzMetricsContext db, IHelperService helperService, IHttpContextAccessor contextAccessor, IProjectMetricSnapshotService snapshotService, IProjectMetricLogService logService) : base(db) { _logService = logService; _snapshotService = snapshotService; CurrentUser = helperService.GetCurrentUser(contextAccessor.HttpContext.User.GetId()); }
public MetricService(JazzMetricsContext db, IAspiceProcessService aspiceProcessService, IMetricTypeService metricTypeService, IAffectedFieldService affectedFieldService, IHttpContextAccessor contextAccessor, IHelperService helperService) : base(db) { _metricTypeService = metricTypeService; _aspiceProcessService = aspiceProcessService; _affectedFieldService = affectedFieldService; CurrentUser = helperService.GetCurrentUser(contextAccessor.HttpContext.User.GetId()); }
public ProjectService(JazzMetricsContext db, IUserService userService, IProjectMetricService projectMetricService, IProjectUserService projectUserService, IHelperService helperService, IHttpContextAccessor contextAccessor, IMetricService metricService, IJazzService jazzService, IProjectMetricSnapshotService projectMetricSnapshotService, IMetricTypeService metricTypeService) : base(db) { _jazzService = jazzService; _userService = userService; _helperService = helperService; _metricService = metricService; _metricTypeService = metricTypeService; _projectUserService = projectUserService; _projectMetricService = projectMetricService; _projectMetricSnapshotService = projectMetricSnapshotService; CurrentUser = helperService.GetCurrentUser(contextAccessor.HttpContext.User.GetId()); }