public List <string> FillPermissions(EnumPermissions permissions) { List <string> myPermissionList = _logic.SelectPermissionName(); if (permissions != EnumPermissions.Admin) { myPermissionList.Remove("Admin"); } return(myPermissionList); }