@{ ViewData["Title"] = "Login"; }

Login

@foreach (var error in ViewData.ModelState.Values.SelectMany(v => v.Errors)) {

@error.ErrorMessage

}