public async Task <ActionResult> OnGetAsync() { Option <string> HtmlDataOption = await _blogConfig.GetWhoIAmHtml(); if (!HtmlDataOption.Any()) { return(RedirectToPage("/NotFound")); } HtmlData = HtmlDataOption.Single(); return(Page()); }
public async Task <ActionResult> OnGetAsync() { Option <string> HtmlDataOption = await _blogConfig.GetWhoIAmHtml(); if (!HtmlDataOption.Any()) { return(RedirectToPage("/NotFound")); } HtmlData = HtmlDataOption.Single(); return(Page()); }