Domain.User.Validate C# (CSharp) Method

Validate() public method

public Validate ( System.Guid userID, string name, string password ) : bool
userID System.Guid
name string
password string
return bool
        public bool Validate(Guid userID, string name, string password)
        {
            var encoded = User.EncodePassword(password);
            if (encoded == _password)
            {
                return true;
            }
            return false;
        }