diff --git a/Webzine.Repository/DbStyleRepository.cs b/Webzine.Repository/DbStyleRepository.cs index 0a6894b..a189ffd 100644 --- a/Webzine.Repository/DbStyleRepository.cs +++ b/Webzine.Repository/DbStyleRepository.cs @@ -184,7 +184,7 @@ public class DbStyleRepository : IStyleRepository { try { - int count = this.context.Styles.Count(); + int count = Enumerable.Count(this.context.Styles); this.logger.LogDebug("Nombre total de styles: {Count}", count); return count; }