Esempio n. 1
0
 public UniOfWork(AppStoreDbContext context, IRepository <Product> productRepository)
 {
     _context           = context;
     _productRepository = productRepository;
 }
 public BaseRepository(AppStoreDbContext context)
 {
     _entities = context.Set <T>();
 }