Ejemplo n.º 1
0
        public ActionResult EditMode()
        {
            List<Group> groups = GroupsManager.SelectAll();
            GroupsViewModel model = new GroupsViewModel(groups, editMode: true);

            return View("Index", model);
        }
Ejemplo n.º 2
0
        //
        // GET: /Groups/Index
        // Displays all the groups of the clan
        public ActionResult Index()
        {
            List<Group> groups = GroupsManager.SelectAll();
            GroupsViewModel model = new GroupsViewModel(groups);

            return View(model);
        }