diff --git a/Webzine.Repository/DbArtisteRepository.cs b/Webzine.Repository/DbArtisteRepository.cs index 0b3748f..f6f868b 100644 --- a/Webzine.Repository/DbArtisteRepository.cs +++ b/Webzine.Repository/DbArtisteRepository.cs @@ -182,7 +182,7 @@ namespace Webzine.Repository { try { - int count = this.context.Artistes.Count(); + int count = Enumerable.Count(this.context.Artistes); this.logger.LogDebug("Nombre total d'artistes dans la base: {Count}", count); return count; }