Ejemplo n.º 1
0
 public OrdersService(IShopConnection shopConnection)
 {
     _dbContext = shopConnection.Context;
 }
Ejemplo n.º 2
0
 protected BaseDbController(IShopConnection shopConnection)
 {
     ShopConnection = shopConnection;
 }
Ejemplo n.º 3
0
 public CatalogService(IShopConnection dbContext)
 {
     _dbContext = dbContext.Context;
 }
Ejemplo n.º 4
0
 public AdminsController(IShopConnection shopConnection) : base(shopConnection)
 {
     _dbContext = shopConnection.Context;
 }
Ejemplo n.º 5
0
 public UsersController(IShopConnection connection) : base(connection)
 {
     _dbContext = connection.Context;
 }
Ejemplo n.º 6
0
 public CatalogController(ICatalog catalog, IShopConnection connection) : base(connection)
 {
     _catalog = catalog;
 }
Ejemplo n.º 7
0
 public OrdersController(IOrders orders, IShopConnection connection) : base(connection)
 {
     _orders = orders;
 }