public static void SaveRentalBroughtBacks(IList <VideoGame> games)
 {
     foreach (var game in games)
     {
         var gameFromRepo = GetAll().FirstOrDefault(x => x.Id == game.Id);
         gameFromRepo.Rented = game.Rented;
         VideoGamesRepository.AddOrUpdate(gameFromRepo);
     }
 }
 public static void AddNewGameOrUpdate(VideoGame videoGame)
 {
     VideoGamesRepository.AddOrUpdate(videoGame);
 }