static void Main(string[] args) { DataBaseSubSystem dataBaseSubSystem = new DataBaseSubSystem(); FileSubSystem fileSubSystem = new FileSubSystem(); Facade facade = new Facade(dataBaseSubSystem, fileSubSystem); Console.WriteLine(facade.Operation()); }
public Facade(DataBaseSubSystem dataBaseSubSystem, FileSubSystem fileSubSystem) { _dataBaseSubSystem = dataBaseSubSystem; _fileSubSystem = fileSubSystem; }