public void Save(int score) { string timeString = System.DateTime.Now.ToString(dataAgent.timeFormat); _score.time = timeString; _score.score = score; dataAgent.AddScore(_score); _score = dataAgent.GetScoreByTime(timeString); _EmitOnScoreSaved(_score); }