public void Save(Snapshot snapshot)
        {
            var fileName = _fileRoot + "App_Data\\snapshots.txt";

            var snapshotText = snapshot.Date + ","
                             + snapshot.StoriesBeingWorkedOn + ","
                             + snapshot.StoriesCompleted + ","
                             + snapshot.TotalEstimate + ","
                             + snapshot.TotalNumberOfStories + ","
                             + snapshot.TotalTimeSpent + ","
                             + snapshot.StoriesCompletedEstimateValue + ","
                             + snapshot.StoriesCompletedActualValue;

            using (StreamWriter w = File.AppendText(fileName))
            {
                w.WriteLine(snapshotText);
            }
        }
 public void TakeSnapshot(Snapshot snapshot)
 {
     _snapshotRepo.Save(snapshot);
 }