//This method breaks Single Responsibility (SRP), to maintain SRP, we've implemented Persistence class public void Save(Journal j, string filename) { File.WriteAllText(filename, ToString()); }
//This method breaks Single Responsibility (SRP), to maintain SRP, we've implemented Persistence class public void Save(Journal j, string filename) { File.WriteAllText(filename, ToString()); }