Пример #1
0
 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());
 }
Пример #2
0
 public AffectedFieldController(IHelperService helperService, IAffectedFieldService affectedFieldService) : base(helperService) => _affectedFieldService = affectedFieldService;