Esempio n. 1
0
        public void Execute()
        {
            //Old client implementation
            IRepository repository = new LSP.DataBase();
            repository.Save();

            
            //implementation for new clients who want to generate report
            IReport report = new DataBaseReport();
            report.Generate();
        }
Esempio n. 2
0
 public void Save()
 {
     var dataBase = new LSP.DataBase();
     dataBase.Save();
 }