private Boolean IsCorrectPassword(Int32 accountId, String password)
{
String passhash = UnitOfWork
.Select<Account>()
.Where(account => account.Id == accountId)
.Select(account => account.Passhash)
.Single();
Boolean isCorrect = Hasher.VerifyPassword(password, passhash);
if (!isCorrect)
ModelState.AddModelError<ProfileEditView>(account => account.Password, Validations.IncorrectPassword);
return isCorrect;
}