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