Working on wiring up identity and basket

This commit is contained in:
Steve Smith
2017-04-20 17:04:03 -04:00
parent 6694aa4968
commit 408c5d97ec
12 changed files with 301 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
using Microsoft.eShopWeb.ApplicationCore.Entities;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Microsoft.eShopWeb.ViewModels
{
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; }
}
}