public Calculator(double firstOperand, string operatorValue, double secondOperand, ICalculatorsService calculatorsService) { this.FirstOperand = firstOperand; this.OperatorValue = operatorValue; this.SecondOperand = secondOperand; this.calculatorsService = calculatorsService; }
public HomeController(ILogger <HomeController> logger, ICalculatorsService calculatorsService) { _logger = logger; this.calculatorsService = calculatorsService; }
public CalculatorsController(ICalculatorsService calculatorsService) { this.calculatorsService = calculatorsService; }