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