Ejemplo n.º 1
0
 public MyHub(IDevTestRepository devTestRepository) // allow constructor to pass in a context instance
 {
     this.devTestRepository = devTestRepository;
 }
Ejemplo n.º 2
0
 public DevTestService(IDevTestRepository devTestRepository, IUnitOfWork unitOfWork)
 {
     _devTestRepository = devTestRepository;
     _unitOfWork        = unitOfWork;
 }
Ejemplo n.º 3
0
 public MyHub() // create a new context instance
 {
     this.devTestRepository = new DevTestRepository(new test_monitorChangesEntities());
 }