public static RatingHistory MakeGame(IRatingHistory ratingHistory)
 {
     return new RatingHistory
     {
         Id = ratingHistory.Id,
         Delta = ratingHistory.Delta,
         Game = ratingHistory.Game,
         GameId = ratingHistory.Game.Id,
         Player = ratingHistory.Player,
         PlayerId = ratingHistory.Player.Id,
         Rating = ratingHistory.Rating
     };
 }
 public IRatingHistory SaveRatingHistory(IRatingHistory ratingHistory)
 {
     var command = new SaveRatingHistory(RatingHistoryFactory.MakeGame(ratingHistory));
     command.Execute();
     return command.Result;
 }