Пример #1
0
 public OhmsCalculatorService(IResistorBandRepository resistorbandRepository)
 {
     _resistorbandRepository = resistorbandRepository;
 }
Пример #2
0
 public ResistorController(IResistorBandRepository resistorbandRepository)
 {
     _resistorbandRepository = resistorbandRepository;
     _ohmsCalculatorService  = new OhmsCalculatorService(_resistorbandRepository);
 }