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()); }
public ProjectMetricController(IHelperService helperService, IProjectMetricService projectMetricService) : base(helperService) => _projectMetricService = projectMetricService;