From 9214fd387903e1252870a961520ab21ddaa2a2cb Mon Sep 17 00:00:00 2001 From: Pipiaka Date: Sat, 14 Dec 2024 19:50:07 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B4=D0=BE=D0=BB=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=86=D0=B5=D0=BF=D0=BE=D1=87=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Implementations/TypeJobRepositories.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/TypeJobRepositories.cs b/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/TypeJobRepositories.cs index f1c2b58..916400d 100644 --- a/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/TypeJobRepositories.cs +++ b/Accounting-Time-It-Company/Accounting-Time-It-Company/Repositories/Implementations/TypeJobRepositories.cs @@ -30,7 +30,7 @@ public class TypeJobRepositories : ITypeJobRepositories using var transaction = connection.BeginTransaction(); var queryInsert = @" INSERT INTO TypeJob - VALUES (DEFAULT, @ProductId, @Description, @AllowanceForJob, @Date); + VALUES (DEFAULT, @ProductId, @DirectorID, @Description, @AllowanceForJob, @Date); SELECT MAX(Id) FROM TypeJob"; var typeJobId = connection.QueryFirst(queryInsert, typeJob, transaction); var querySubInsert = @"