Skip to content

Commit

Permalink
Add region to render code example in topic (dotnet#11736)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored and Rick-Anderson committed Mar 29, 2019
1 parent ba81a2c commit ea003ba
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void OnGet(string returnUrl = null)
ReturnUrl = returnUrl;
}

#region snippet_Register
public async Task<IActionResult> OnPostAsync(string returnUrl = null)
{
returnUrl = returnUrl ?? Url.Content("~/");
Expand Down Expand Up @@ -94,5 +95,6 @@ await _emailSender.SendEmailAsync(Input.Email, "Confirm your email",
// If we got this far, something failed, redisplay form
return Page();
}
#endregion
}
}

0 comments on commit ea003ba

Please sign in to comment.