Exemplo n.º 1
0
        public async Task <ActionResult> AccountList()
        {
            var allAccounts = await AccountFacade.GetAllAccountsAsync();

            var model = await InitializeAccountListModel(allAccounts.Items.OrderBy(x => x.FirstName).ToList());

            return(View(model));
        }