Example #1
0
        public Task SetPasswordHashAsync(ApplicationUser user, string passwordHash)
        {
            //throw new NotImplementedException();
            var db = new PubSystemEntities();

            db.Users.SingleOrDefault(uu => uu.id_user.ToString() == user.Id).password = passwordHash;
            db.SaveChanges();

            return(Task.FromResult(true));
        }