Пример #1
0
        public async Task <IActionResult> RolesManagement(RolesManagementModel model)
        {
            model.Roles = await _moneyRoleManager.GetRolesAsync();

            model.Permissions = await _permissionManager.GetPermissionsAsStringsAsync();

            return(View(model));
        }