Umbraco - ezSearch except some nodeTypeAlias

Go to this file : /Views/MacroPartials/exSearch.cshtml find this section :
 var results = searcher.Search(criteria2)
           .Where(x => (
                !Umbraco.IsProtected(int.Parse(x.Fields["id"]), x.Fields["path"]) ||
                (
                    Umbraco.IsProtected(int.Parse(x.Fields["id"]), x.Fields["path"]) &&
                    Umbraco.MemberHasAccess(int.Parse(x.Fields["id"]), x.Fields["path"])
                )) && (
                    (x.Fields["__IndexType"] == UmbracoExamine.IndexTypes.Content && Umbraco.TypedContent(int.Parse(x.Fields["id"])) != null) ||
                    (x.Fields["__IndexType"] == UmbracoExamine.IndexTypes.Media && Umbraco.TypedMedia(int.Parse(x.Fields["id"])) != null)
                )).ToList();

and write your nodeTypeAlias
results = results.FindAll(x => 
            (
                (x.Fields["nodeTypeAlias"] != "nodetypealias1") &&
                (x.Fields["nodeTypeAlias"] != "nodetypealias2")   
            )).ToList();