diff --git a/Bootstrap.Admin/HttpHeaderOperation.cs b/Bootstrap.Admin/HttpHeaderOperation.cs index 4c15bb29..0f5181f7 100644 --- a/Bootstrap.Admin/HttpHeaderOperation.cs +++ b/Bootstrap.Admin/HttpHeaderOperation.cs @@ -21,7 +21,7 @@ namespace Bootstrap.Admin { if (operation.Parameters == null) operation.Parameters = new List(); - if (context.MethodInfo.GetCustomAttributes(typeof(AllowAnonymousAttribute), true).Count() == 0) + if (context.MethodInfo.GetCustomAttributes(typeof(AllowAnonymousAttribute), true).Length == 0) { operation.Parameters.Add(new NonBodyParameter() { diff --git a/Bootstrap.Admin/Views/Shared/SubNavItem.cshtml b/Bootstrap.Admin/Views/Shared/SubNavItem.cshtml index 8d6e6d20..8378ffd6 100644 --- a/Bootstrap.Admin/Views/Shared/SubNavItem.cshtml +++ b/Bootstrap.Admin/Views/Shared/SubNavItem.cshtml @@ -1,7 +1,7 @@ @model Bootstrap.Security.BootstrapMenu