示例#1
0
        // GET: ProfileManagement
        public ActionResult Index()
        {
            var profiles = _profileManagementService.GetProfiles();
            var model    = GetGridModel(profiles);

            return(View(model));
        }
示例#2
0
        public IActionResult Index()
        {
            var profiles   = _profileManagementService.GetProfiles();
            var tableModel = GetTableModel(profiles, null);

            var model = new ManagementTableViewModel(tableModel, nameof(CreateProfile), nameof(EditProfile), nameof(DeleteProfile));

            return(View("TableEditor/_Table", model));
        }