public UnitOfWork(MassMarketContext context) { _context = context; Products = new ProductRepository(context); Categories = new CategoryRepository(context); }
public ProductRepository(MassMarketContext context) : base(context) { }
public UnitOfWork(MassMarketContext context) { _context = context; Products = new ProductRepository(context); Categories = new CategoryRepository(context); }
public ProductRepository(MassMarketContext context) : base(context) { }