Beispiel #1
0
        public ActionResult Test()
        {
            ViewBag.DeleteListItems = getDeleteListItems();
            var model = new Pasys.Web.Admin.UI.Models.TestModel();

            model.UserID    = "3";
            model.CanDoList = new List <string> {
                "1", "3"
            };
            return(View(model));
        }
Beispiel #2
0
 public ActionResult Test(Pasys.Web.Admin.UI.Models.TestModel model)
 {
     ViewBag.DeleteListItems = getDeleteListItems();
     return(View(model));
 }