Merge remote-tracking branch 'origin/dev' into update_dashboard
This commit is contained in:
@@ -150,11 +150,13 @@ try
|
||||
var commentaires = new List<Commentaire>();
|
||||
var titres = SeedDataLocal.GenererListeTitre(500, artistes, styles, albums);
|
||||
|
||||
int commentaireIdStart = 1;
|
||||
foreach (var titre in titres)
|
||||
{
|
||||
var commentairesForTitre = SeedDataLocal.GenererListeCommentaire(titre, 0, 5);
|
||||
var commentairesForTitre = SeedDataLocal.GenererListeCommentaire(titre, 0, 5, commentaireIdStart);
|
||||
titre.Commentaires.AddRange(commentairesForTitre);
|
||||
commentaires.AddRange(commentairesForTitre);
|
||||
commentaireIdStart += commentairesForTitre.Count;
|
||||
}
|
||||
|
||||
store.Artistes.AddRange(artistes);
|
||||
|
||||
Reference in New Issue
Block a user