Example #1
0
        public async Task <IdentityResult> UpdateAsync(User user, CancellationToken cancellationToken)
        {
            db.Update(user);

            await db.SaveChangesAsync(cancellationToken);

            return(await Task.FromResult(IdentityResult.Success));
        }