Beispiel #1
0
        public async Task RemoveClaimsAsync([FromBody] RemoveClaimDTO ClaimInfo, [FromServices] WebStoreDb db)
        {
            await _UserStore.RemoveClaimsAsync(ClaimInfo.User, ClaimInfo.Claims);

            await db.SaveChangesAsync();
        }
Beispiel #2
0
        public async Task RemoveClaimsAsync([FromBody] RemoveClaimDTO ClaimInfo)
        {
            await _UserStore.RemoveClaimsAsync(ClaimInfo.User, ClaimInfo.Claims);

            await _UserStore.Context.SaveChangesAsync();
        }
 public async Task RemoveClaimsAsync([FromBody] RemoveClaimDTO ClaimInfo) =>
 await _UserStore.RemoveClaimsAsync(ClaimInfo.User, ClaimInfo.Claims);
        public async Task RemoveClaimsAsync([FromBody] RemoveClaimDTO claimDTO, [FromServices] WebStoreDB dB)
        {
            await userStore.RemoveClaimsAsync(claimDTO.User, claimDTO.Claims);

            await dB.SaveChangesAsync();
        }