Пример #1
0
        public IActionResult SendMessage()
        {
            MessageDetailVM vm = new MessageDetailVM();

            foreach (Account account in accountContainer.GetAll())
            {
                vm.accounts.Add(accountVMConverter.ModelToViewModel(account));
            }
            return(View(vm));
        }
Пример #2
0
        public void AccountGetAllTest()
        {
            List <Account> accounts = container.GetAll();

            Assert.NotEmpty(accounts);
        }