Example #1
0
        public ActionResult UserInfo(UserInfoModel model)
        {
            model.Categories = this.GetCategories();

            return View(model);
        }
Example #2
0
 public ActionResult UserInfo()
 {
     var u = new UserInfoModel { FirstName = "first name", LastName = "last name", UserID = 3, Categories = this.GetCategories()};
     return View(u);
 }