mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-27 23:33:05 +00:00
15 lines
329 B
C#
15 lines
329 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Extensions
|
|
{
|
|
public static class PermissionExtension
|
|
{
|
|
public static List<Permission> EncodePermissions(this IEnumerable<Permission> permissionList)
|
|
{
|
|
return permissionList.ToList();
|
|
}
|
|
}
|
|
}
|