Example #1
0
 public void OnGet(int id)
 {
     Role = _permisionService.GetRoleById(id);
     ViewData["Permissions"]         = _permisionService.GetAllPermision();
     ViewData["SelectedPermissions"] = _permisionService.permissionsRole(id);
 }
Example #2
0
 public void OnGet()
 {
     ViewData["Permissions"] = _permisionService.GetAllPermision();
 }