protected bool PasswordMatch(string modelPassword, string enteredPassword) { string hashedEnterPassword = encryptionService.CreateHashPassword(enteredPassword); return(hashedEnterPassword.Equals(modelPassword, StringComparison.CurrentCultureIgnoreCase)); }