private static UnitCollectionsModel GenerateData(IRandomGenerator generator, IDataGenerator randomGenerator) { var generatedData = new UnitCollectionsModel() { Songs = randomGenerator.GenerateSongs(generator, 20), Albums = randomGenerator.GenerateAlbums(generator, 20), Artists = randomGenerator.GenerateArtists(generator, 20) }; return(generatedData); }
private static UnitCollectionsModel GenerateData(IRandomGenerator generator, IDataGenerator randomGenerator) { var generatedData = new UnitCollectionsModel() { Songs = randomGenerator.GenerateSongs(generator, 20), Albums = randomGenerator.GenerateAlbums(generator, 20), Artists = randomGenerator.GenerateArtists(generator, 20) }; return generatedData; }