Exemple #1
0
 public DemoTest()
 {
     _mockTestTableRepository = new Mock<ITestTableRepository>();
     _testTableLogic = new TestTableLogic(_mockTestTableRepository.Object);
 }
Exemple #2
0
 public void Dispose()
 {
     _testTableLogic = null;
 }
 public HomeController(ITestTableLogic testTableLogic)
 {
     _testTableLogic = testTableLogic;
     Mapper.CreateMap<Models.TestTable, TestTable>();
     Mapper.CreateMap<TestTable, Models.TestTable>();
 }