public UnitOfWork(DBMarket context) { Products = new ProductRepository(context); Categories = new CategoryRepository(context); PaymentTypes = new PaymentTypeRepository(context); Tags = new TagRepository(context); }
public PaymentTypeRepository(DBMarket context) : base(context) { }
public ProductRepository(DBMarket context) : base(context) { }
public TagRepository(DBMarket context) : base(context) { }
public CategoryRepository(DBMarket context) : base(context) { }
public Repository(DBMarket context) { this.context = context; }