yep
This commit is contained in:
@@ -72,7 +72,12 @@ public class SessionRepository : ISessionRepository
|
|||||||
using var connection = new SqlConnection(connectionString);
|
using var connection = new SqlConnection(connectionString);
|
||||||
await connection.ExecuteAsync(
|
await connection.ExecuteAsync(
|
||||||
"session.CreateMove",
|
"session.CreateMove",
|
||||||
new { },
|
new
|
||||||
|
{
|
||||||
|
To = command.To,
|
||||||
|
From = command.From,
|
||||||
|
IsPromotion = command.IsPromotion
|
||||||
|
},
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,5 @@
|
|||||||
@PieceName NVARCHAR(13),
|
@PieceName NVARCHAR(13),
|
||||||
@SessionName [session].[SessionName]
|
@SessionName [session].[SessionName]
|
||||||
AS
|
AS
|
||||||
SELECT @param1, @param2
|
|
||||||
RETURN 0
|
INSERT INTO [session].[Move]
|
||||||
|
|||||||
Reference in New Issue
Block a user