Пример #1
0
        public async Task RemoveClaimsAsync([FromBody] RemoveClaimDto claimInfo, [FromServices] WebStoreDB db)
        {
            await _userStore.RemoveClaimsAsync(claimInfo.User, claimInfo.Claims);

            await db.SaveChangesAsync();
        }
Пример #2
0
        public async Task RemoveClaimsAsync([FromBody] RemoveClaimDto ClaimInfo, [FromServices] WebStore_StudyDb db)
        {
            await userStore.RemoveClaimsAsync(ClaimInfo.User, ClaimInfo.Claims);

            await db.SaveChangesAsync();
        }