public IActionResult Structures(HomeStructuresVm structures)
        {
            Random r = new Random();

            structures.DiceValues = new int[structures.NumberOfDice];
            for (int dice = 0; dice < structures.NumberOfDice; dice++)
            {
                structures.DiceValues[dice] = r.Next(6) + 1;
            }
            return(View(structures));
        }
        public IActionResult Structures()
        {
            Random r  = new Random();
            var    vm = new HomeStructuresVm
            {
                PlayerName = "siegfried",
                DiceValues = new int[] { r.Next(6) + 1, r.Next(6) + 1 } //fill two dice with random values between 1 and 6 (inclusive)
            };

            return(View(vm));
        }