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