Fixed bug in MVC sample.

This commit is contained in:
Judah Himango CW
2019-06-25 18:27:24 -05:00
parent e7d521d169
commit b85b2ad846
4 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace Sample.Mvc.Controllers
{
public RavenController(IAsyncDocumentSession dbSession)
{
this.DbSession = DbSession;
this.DbSession = dbSession;
// RavenDB best practice: during save, wait for the indexes to update.
// This way, Post-Redirect-Get scenarios won't be affected by stale indexes.
+2 -1
View File
@@ -2,7 +2,8 @@
ViewData["Title"] = "Sign in";
}
<h1>Hi! Please sign in. (Not registered? <a href="/account/register">Register here</a>.)</h1>
<h1>Hi! Please sign in</h1>
<p>Not registered? <a href="/account/register">Register here</a>.</p>
<form action="/account/signin" method="post">
<div class="form-group">