public MyEntitiesController(IMyEntityRepository repository)
 {
     _service = new MyEntityService(repository);
 }
Exemplo n.º 2
0
 public MyEntityService(IMyEntityRepository repository)
     : base(repository)
 {
     _repository = repository;
 }
Exemplo n.º 3
0
 public MyServiceOrController(IMyEntityRepository myEntityRepository)
 {
     _myEntityRepository = myEntityRepository;
 }
Exemplo n.º 4
0
 public UnitOfWork(IMyEntityRepository myEntityRepository, MyDbContext dbContext)
 {
     this.myEntityRepository = myEntityRepository;
     this.dbContext          = dbContext;
 }