Example #1
0
 public UnitOfWork(ViamericasChallengeContext contexto)
 {
     _context = contexto;
 }
Example #2
0
 public UnitOfWork()
 {
     _context = new ViamericasChallengeContext();
 }
 public GenericRepository(ViamericasChallengeContext context)
 {
     _context = context;
     dbSet    = _context.Set <TEntity>();
 }