예제 #1
0
 public UnitOfWork()
 {
     _context = DbContextFactory.Create("DB1");
     PermutationsRepository = new PermutationsRepository(_context);
 }
예제 #2
0
 public UnitOfWork(DataContext context)
 {
     _context = context;
     PermutationsRepository = new PermutationsRepository(_context);
 }