diff --git a/src/Yavsc/Views/Blogspot/Details.cshtml b/src/Yavsc/Views/Blogspot/Details.cshtml index 26aa1d24..e610197a 100644 --- a/src/Yavsc/Views/Blogspot/Details.cshtml +++ b/src/Yavsc/Views/Blogspot/Details.cshtml @@ -112,7 +112,7 @@ $('span.field-validation-valid[data-valmsg-for="Content"]').html( } -@if ((await AuthorizationService.AuthorizeAsync(User, Model, new EditRequirement())).IsSuccess) { +@if ((await AuthorizationService.AuthorizeAsync(User, Model, new EditRequirement())).Succeeded) { Edit } Back to List diff --git a/src/Yavsc/Views/Blogspot/Index.cshtml b/src/Yavsc/Views/Blogspot/Index.cshtml index 7c7bad7e..e111eafd 100644 --- a/src/Yavsc/Views/Blogspot/Index.cshtml +++ b/src/Yavsc/Views/Blogspot/Index.cshtml @@ -45,6 +45,6 @@ }
- @await Component.InvokeAsync("BlogIndex",User.GetUserId()??"_anonymous_",0,25) + @await Component.InvokeAsync("BlogIndex",new{ id = User.GetUserId() ?? "_anonymous_" ) }
diff --git a/src/Yavsc/Views/Blogspot/Title.cshtml b/src/Yavsc/Views/Blogspot/Title.cshtml index e1c1e3e8..7f07299e 100644 --- a/src/Yavsc/Views/Blogspot/Title.cshtml +++ b/src/Yavsc/Views/Blogspot/Title.cshtml @@ -41,12 +41,12 @@