예제 #1
0
        public List <string> FillPermissions(EnumPermissions permissions)
        {
            List <string> myPermissionList = _logic.SelectPermissionName();

            if (permissions != EnumPermissions.Admin)
            {
                myPermissionList.Remove("Admin");
            }
            return(myPermissionList);
        }