public async Task RemoveClaimsAsync([FromBody] RemoveClaimDto claimInfo, [FromServices] WebStoreDB db) { await _userStore.RemoveClaimsAsync(claimInfo.User, claimInfo.Claims); await db.SaveChangesAsync(); }
public async Task RemoveClaimsAsync([FromBody] RemoveClaimDto ClaimInfo, [FromServices] WebStore_StudyDb db) { await userStore.RemoveClaimsAsync(ClaimInfo.User, ClaimInfo.Claims); await db.SaveChangesAsync(); }