public async Task <IdentityResult> UpdateAsync(User user, CancellationToken cancellationToken) { db.Update(user); await db.SaveChangesAsync(cancellationToken); return(await Task.FromResult(IdentityResult.Success)); }