Example #1
0
 public TestModelDomainService(
     IDbFactory dbFactory,
     ITestModelRepository testModelRepository)
 {
     _dbFactory           = dbFactory;
     _testModelRepository = testModelRepository;
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && testModelRepository != null)
     {
         testModelRepository.Dispose();
         testModelRepository = null;
     }
     base.Dispose(disposing);
 }
 public TestModelService(ITestModelRepository _testModelRepository)
 {
     this._testModelRepository = _testModelRepository;
 }
Example #4
0
 public TestModelService(ITestModelRepository repository) : base(repository)
 {
 }
Example #5
0
 public TestModelController(ITestModelRepository testModelRepo)
 {
     testModelRepository = testModelRepo;
 }