Exemple #1
0
        public IActionResult form_norm()
        {
            var locations = new List <string> {
                "Vancouver", "Portland", "Spokane"
            };
            var languages = new List <string> {
                "french", "english", "german"
            };
            var myForm = new form_norm();

            myForm.Location         = locations;
            myForm.FavoriteLanguage = languages;
            return(View(myForm));
        }
Exemple #2
0
 public IActionResult norm_result(form_norm postedForm)
 {
     return(View(postedForm));
 }