Example #1
0
 public static string ConvertToString(GameLog log)
 {
     return(new JavaScriptSerializer().Serialize(log));
 }
Example #2
0
 public bool AddGameLog(GameLog log)
 {
     return(db.AddGameLog(log.GameID, GameLog.ConvertToString(log)));
 }