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 AffectedFieldController(IHelperService helperService, IAffectedFieldService affectedFieldService) : base(helperService) => _affectedFieldService = affectedFieldService;