예제 #1
0
        public ActionResult EditMode()
        {
            List<Member> members = MembersManager.SelectAll();
            MembersViewModel model = new MembersViewModel(members, editMode: true);

            return View("Index", model);
        }
예제 #2
0
        //
        // GET: Members
        // Displays all the members of the clan
        public ActionResult Index()
        {
            List<Member> members = MembersManager.SelectAll();
            MembersViewModel model = new MembersViewModel(members);

            return View(model);
        }