public KitchenServiceProvider(int kitchenId) { _kitchenRepo = new KitchenRepository(kitchenId); }
public KitchenServiceProvider(string kitchenOwnerEmailId) { _kitchenRepo = new KitchenRepository(kitchenOwnerEmailId); }
public KitchenWorker(IKitchenRepository kitchenRepo, IFridgeAPIProxy fridgeApiProxy) { _kitchenRepo = kitchenRepo; _fridgeApiProxy = fridgeApiProxy; }
/// <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; }
public KitchenWorker() { _kitchenRepo = new KitchenRepository(); _fridgeApiProxy = new FridgeAPIProxy(); }