public FormulaService(IFormulaRepository _formulaRepository, IFormulaValidator _formulaValidator) { _repository = _formulaRepository; _validator = _formulaValidator; }
public FormulaRepository(CalculatorDbContext context, IFormulaValidator validator, IFormulaStatusManager statusManager) { db = context; Validator = validator; this.statusManager = statusManager; }