public UnitOfWork(CMDContext context) { this.context = context; this.CustomerRepository = new CustomerRepository(context); this.OrderRepository = new OrderRepository(context); this.OrderItemRepository = new OrderItemRepository(context); this.ItemRepository = new ItemRepository(context); }
public OrderItemRepository(CMDContext context) : base(context) { }
public CustomerRepository(CMDContext context) : base(context) { }
public Repository(CMDContext context) { this.context = context; }
public ValuesController(CMDContext context) { this.context = context; }