public ActionResult View(long? id)
{
//pull the account from the fetcher
Account account = _accountFetcher.Get(id.Value);
//always map domain objects to models
AccountModel mappedAccount = _mappingEngine.Map<Account, AccountModel>(account);
//no view right now... it's just a sample
return View(mappedAccount);
}
}