public async Task OnGet(Guid?cid) { if (cid != null) { var categoryResult = await contentBusiness.GetCategoryWithDetailById(cid.Value); Categories = categoryResult.Category; CategoryComments = categoryResult.CategoryComments; } else { await contentBusiness.GetTopCategory(""); } }