public static bool PageControl(Enumeration.enum_PageID PageEnum) { bool result = true; if (BasePage.LoginUserBlockList != null && BasePage.LoginUserBlockList.Count() > 0) { if (BasePage.LoginUserBlockList.Exists(x => x.TYPEID == (int)Enumeration.enum_UserBlockListType.PAGE && x.PAGEID_OR_OBJECTID == PageEnum.ToInt32())) { result = false; } } return(result); }
public FilterAuthorization(Enumeration.enum_PageID PageEnum) { _PAGEID = PageEnum.ToInt32(); }