public SampleLogicTests() { _mockSampleData = new Mock <ISampleData>(); _mockCalculator = new Mock <ICalculator>(); _sampleLogic = new SampleLogic(_mockCalculator.Object, _mockSampleData.Object); }
public HomeController(ISampleLogic sampleLogic) { _sampleLogic = sampleLogic; }
public ValuesController(ISampleLogic sampleLogic) { _sampleLogic = sampleLogic; }