public IActionResult SendMessage() { MessageDetailVM vm = new MessageDetailVM(); foreach (Account account in accountContainer.GetAll()) { vm.accounts.Add(accountVMConverter.ModelToViewModel(account)); } return(View(vm)); }
public void AccountGetAllTest() { List <Account> accounts = container.GetAll(); Assert.NotEmpty(accounts); }