protected override bool AuthorizeCore(HttpContextBase httpContext) { bool authorize = false; JSONReadWrite ex = new JSONReadWrite(); authorize = ex.IsUserInRole(httpContext.User.Identity.Name); return(authorize); }
protected override bool AuthorizeCore(HttpContextBase httpContext) { bool authorize = false; JSONReadWrite ex = new JSONReadWrite(); authorize = ex.IsUserInRole(httpContext.User.Identity.Name); return(authorize); }