Should be moduleid as the entity id is added in the CreateAuthPolicyUrl method.

This commit is contained in:
Mike Casas 2020-07-12 18:59:20 -04:00
parent 3703d87d50
commit fe302aa9e4

View File

@ -33,7 +33,7 @@ namespace [Owner].[Module]s.Services
public async Task<[Module]> Add[Module]Async([Module] [Module]) 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]) public async Task<[Module]> Update[Module]Async([Module] [Module])