Ejemplo n.º 1
0
        public async Task <IActionResult> OnGetAsync(Guid postId)
        {
            PostList = await postService.GetPosts();

            SpecificPost = await postService.GetSepecificPost(postId);

            CategoryName = await cateService.GetCategoryName(SpecificPost.CategoryId);

            return(Page());
        }