Продолжение цепочки исправлений
This commit is contained in:
parent
9cc5412c9e
commit
9214fd3879
@ -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<int>(queryInsert, typeJob, transaction);
|
||||
var querySubInsert = @"
|
||||
|
Loading…
x
Reference in New Issue
Block a user