Esempio n. 1
0
 public KitchenServiceProvider(int kitchenId)
 {
     _kitchenRepo = new KitchenRepository(kitchenId);
 }
Esempio n. 2
0
 public KitchenServiceProvider(string kitchenOwnerEmailId)
 {
     _kitchenRepo = new KitchenRepository(kitchenOwnerEmailId);
 }
Esempio n. 3
0
 public KitchenWorker(IKitchenRepository kitchenRepo, IFridgeAPIProxy fridgeApiProxy)
 {
     _kitchenRepo    = kitchenRepo;
     _fridgeApiProxy = fridgeApiProxy;
 }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="buildingMaterial"></param>
 /// <param name="kitchen"></param>
 /// <param name="logger"></param>
 public ItemsService(IBuildingMaterialRepository buildingMaterial, IKitchenRepository kitchen, ILogger <ItemsService> logger)
 {
     this.logger           = logger;
     this.buildingMaterial = buildingMaterial;
     this.kitchen          = kitchen;
 }
Esempio n. 5
0
 public KitchenWorker()
 {
     _kitchenRepo    = new KitchenRepository();
     _fridgeApiProxy = new FridgeAPIProxy();
 }