Exemple #1
0
 public EmployeeController(ECPDbContext context, IPredictionService predictionService, IOptions <PredictionOptions> predictionOptions)
 {
     _context           = context;
     _predictionService = predictionService;
     _predictionOptions = predictionOptions.Value;
     modelName          = _predictionOptions.ModelName;
     thresHold          = _predictionOptions.Threshold;
 }
 public EmployeesController(ECPDbContext context)
 {
     _context = context;
 }