public IActionResult Account(int AccountID) { AccountViewModel model = new AccountViewModel() { editAccountViewModel = new EditAccountViewModel() { account = AccountLogic.GetAccountByID(AccountID), login = AccountLogic.GetAccountByID(AccountID).Login, EditButton = true }, orderListViewModel = new orderListViewModel() { orders = shopLogic.GetOrderFromUser(AccountID) } }; return(View(model)); }