This commit is contained in:
2019-09-23 21:09:38 +00:00
parent 34cfc89d0b
commit cb2606fed1
2 changed files with 25 additions and 17 deletions

View File

@@ -44,11 +44,15 @@ namespace qbridge.Controllers
<label for=""uname""><b>User name</b></label>
<input type=""text"" placeholder=""Enter Username"" id=""uname"" name=""uname"" required>
</div>
<br/>
<div>
<label for=""pwd""><b>Password</b></label>
<input type=""password"" placeholder=""Enter Password"" id=""pwd"" name=""pwd"" required>
</div>
<br/>
<div>
<button type=""submit"">Login</button>
</div>
</div>
</form>
@@ -70,7 +74,7 @@ namespace qbridge.Controllers
[HttpPost]
public IActionResult Index([FromForm]string uname,[FromForm]string pwd)
{
return Content($"Hello {uname}, password: {pwd}");
return Content($"Uname: {uname}, Password: {pwd}");
}