Replace custom socket implementation with SignalR.
Replace MSAL and custom cookie auth with Microsoft.Identity.EntityFramework Also some UI redesign to accommodate different login experience.
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
CREATE PROCEDURE [session].[CreateSession]
|
||||
@Name [session].[SessionName],
|
||||
@Player1Name [user].[UserName]
|
||||
@Id [session].[SessionSurrogateKey],
|
||||
@Player1Id [dbo].[AspNetUsersId]
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
||||
INSERT INTO [session].[Session] ([Name], Player1Id)
|
||||
SELECT @Name, Id
|
||||
FROM [user].[User]
|
||||
WHERE [Name] = @Player1Name
|
||||
INSERT INTO [session].[Session]
|
||||
([Id], Player1Id)
|
||||
VALUES
|
||||
(@Id, @Player1Id)
|
||||
|
||||
END
|
||||
Reference in New Issue
Block a user