From 274b32e46f45b527d86501fd4ee23935e2fb651b Mon Sep 17 00:00:00 2001 From: Elena G Blanco Date: Sun, 21 Jan 2024 12:50:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=89=20Add=20service=20injecion=20in=20?= =?UTF-8?q?queries?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TaleEngine.Bussiness/Queries/Backoffice/UserQueries.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TaleEngine/TaleEngine.Bussiness/Queries/Backoffice/UserQueries.cs b/TaleEngine/TaleEngine.Bussiness/Queries/Backoffice/UserQueries.cs index fe4fc0d..58c50a4 100644 --- a/TaleEngine/TaleEngine.Bussiness/Queries/Backoffice/UserQueries.cs +++ b/TaleEngine/TaleEngine.Bussiness/Queries/Backoffice/UserQueries.cs @@ -13,9 +13,10 @@ public class UserQueries : IUserQueries private readonly IUserStatusQueries _userStatusCommands; private readonly IUserService _service; - public UserQueries(IUserStatusQueries userStatusCommands) + public UserQueries(IUserService userService, IUserStatusQueries userStatusCommands) { _userStatusCommands = userStatusCommands ?? throw new ArgumentNullException(nameof(userStatusCommands)); + _service = userService ?? throw new ArgumentNullException(nameof(userService)); } public List AllUsersQuery()