Pulsey.Core.Repositories.UserRepository.UpdateUserProfile C# (CSharp) Method

UpdateUserProfile() public method

public UpdateUserProfile ( User objUser ) : bool
objUser Pulsey.Core.Models.User
return bool
        public bool UpdateUserProfile(User objUser)
        {
            using (var context = new PulseyContext())
            {
                context.Entry<User>(objUser).State = EntityState.Modified;
                context.SaveChanges();
            }
            return true;
        }