[AC-2799] Finalize sprocs that added the Manage permission (2 of 3) (#4452)

Update repository code to use non-v2 sprocs
This commit is contained in:
Thomas Rittson
2024-07-04 01:43:15 +10:00
committed by GitHub
parent 07d37b1b41
commit 76f6e68a36
3 changed files with 7 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ public class GroupRepository : Repository<Group, Guid>, IGroupRepository
using (var connection = new SqlConnection(ConnectionString))
{
var results = await connection.ExecuteAsync(
$"[{Schema}].[Group_CreateWithCollections_V2]",
$"[{Schema}].[Group_CreateWithCollections]",
objWithCollections,
commandType: CommandType.StoredProcedure);
}
@@ -156,7 +156,7 @@ public class GroupRepository : Repository<Group, Guid>, IGroupRepository
using (var connection = new SqlConnection(ConnectionString))
{
var results = await connection.ExecuteAsync(
$"[{Schema}].[Group_UpdateWithCollections_V2]",
$"[{Schema}].[Group_UpdateWithCollections]",
objWithCollections,
commandType: CommandType.StoredProcedure);
}