public string GetPassword(string accountName)
{
var query = new UserByAccountQuery(dbContext.Users);
Model.User user = query.Execute(accountName, Model.AccountType.Password);
if (user == null)
{
throw new EntityNotFoundException("Account", accountName);
}
Model.Account account = user.GetAccount(Model.AccountType.Password, accountName);
return account.Password;
}