public GenericRepository(AguaDeMariaContext context) { _context = context; #if DEBUG _context.Database.Log = s => Debug.WriteLine(s); #endif _dbSet = context.Set <T>(); }
public UnitOfWork(AguaDeMariaContext context) { _context = context; }