public FreshController(CakeFactoryFactory cakeFactoryFactory) { _cakeFactory = cakeFactoryFactory.GetFactory("fresh"); }
public StaleController(CakeFactoryFactory cakeFactoryFactory) { _cakeFactory = cakeFactoryFactory.GetFactory("stale"); }
public FreshController(CakeFactoryFactory cakeFactoryFactory) { _cakeFactory = cakeFactoryFactory.GetFactory("fresh"); }
public StaleController(CakeFactoryFactory cakeFactoryFactory) { _cakeFactory = cakeFactoryFactory.GetFactory("stale"); }