// GET: ProfileManagement public ActionResult Index() { var profiles = _profileManagementService.GetProfiles(); var model = GetGridModel(profiles); return(View(model)); }
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)); }