From 410b1f42ab4e979a995254a4481fa8ffc92e1fe8 Mon Sep 17 00:00:00 2001 From: Pipiaka Date: Sat, 7 Dec 2024 22:19:48 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=81=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Implementations/EmployeeRepositories.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/EmployeeRepositories.cs b/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/EmployeeRepositories.cs index 74346cb..1ea456b 100644 --- a/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/EmployeeRepositories.cs +++ b/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/EmployeeRepositories.cs @@ -94,7 +94,7 @@ public class EmployeeRepositories : IEmployeeRepositories connection.Open(); var querySelect = @" SELECT * FROM Employee - WHERE [Id]=@id"; + WHERE Id=@id"; var employee = connection.QueryFirst(querySelect, new { id }); _logger.LogDebug("Найденный объект: {json}", JsonConvert.SerializeObject(employee)); return employee;