Delete module id as it is getting added in CreateAuthPolicyUrl method.

This commit is contained in:
Mike Casas 2020-07-14 11:47:59 -04:00
parent 57c500f4bc
commit 23e7f66188

View File

@ -33,7 +33,7 @@ namespace [Owner].[Module]s.Services
public async Task<[Module]> Add[Module]Async([Module] [Module])
{
return await PostJsonAsync<[Module]>(CreateAuthPolicyUrl($"{Apiurl}?moduleid={[Module].ModuleId}", [Module].ModuleId), [Module]);
return await PostJsonAsync<[Module]>(CreateAuthPolicyUrl($"{Apiurl}", [Module].ModuleId), [Module]);
}
public async Task<[Module]> Update[Module]Async([Module] [Module])