public MathController(IMathEngine mathEngine, ILogger <MathController> logger) { _mathEngine = mathEngine; _logger = logger; }
public HomeController(IMathEngine engine) { this.engine = engine; }
public MathEngineTests() { _mathEngine = ServiceProvider.GetService <IMathEngine>(); }