Should be moduleid as the entity id is added in the CreateAuthPolicyUrl method.
This commit is contained in:
parent
3703d87d50
commit
fe302aa9e4
|
@ -33,7 +33,7 @@ namespace [Owner].[Module]s.Services
|
|||
|
||||
public async Task<[Module]> Add[Module]Async([Module] [Module])
|
||||
{
|
||||
return await PostJsonAsync<[Module]>(CreateAuthPolicyUrl($"{Apiurl}?entityid={[Module].ModuleId}", [Module].ModuleId), [Module]);
|
||||
return await PostJsonAsync<[Module]>(CreateAuthPolicyUrl($"{Apiurl}?moduleid={[Module].ModuleId}", [Module].ModuleId), [Module]);
|
||||
}
|
||||
|
||||
public async Task<[Module]> Update[Module]Async([Module] [Module])
|
||||
|
|
Loading…
Reference in New Issue
Block a user