added mongodb mvc sample

This commit is contained in:
alexandre-spieser
2017-11-19 18:35:40 +00:00
parent e561777658
commit 2046daf11b
109 changed files with 25679 additions and 83 deletions
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MongoIdentitySample.Mvc.Models.AccountViewModels
{
public class LoginViewModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
[Required]
[DataType(DataType.Password)]
public string Password { get; set; }
[Display(Name = "Remember me?")]
public bool RememberMe { get; set; }
}
}