Esempio n. 1
0
 public GenericRepository(PangathonContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }
Esempio n. 2
0
 public UnitOfWork(PangathonContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }