public ActionResult Index()
        {
            var groups = _groupProvider
                         .GetAll()
                         .Select(MapGroupView)
                         .ToList();

            return(View(groups));
        }
Example #2
0
        public JsonResult LoadTargetGroups()
        {
            var groups = _groupProvider.GetAll().Select(Map).ToList();

            return(new JsonCamel(groups));
        }
        public ActionResult Index()
        {
            var groups = _groupProvider.GetAll();

            return(View(groups));
        }