24 lines
714 B
C#
24 lines
714 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Web;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using Weee.Models;
|
|||
|
using Resources;
|
|||
|
|
|||
|
namespace Weee.ViewModels
|
|||
|
{
|
|||
|
public class ResetPasswordViewModel
|
|||
|
{
|
|||
|
[Display(Name = "NewPassword", ResourceType = typeof(Resource))]
|
|||
|
public string NewPassword { get; set; }
|
|||
|
[Required(ErrorMessageResourceType = typeof(Resource),
|
|||
|
ErrorMessageResourceName = "RequiredMessage")]
|
|||
|
[Compare("NewPassword")]
|
|||
|
[Display(Name = "StaticLabelUserPasswordRepeat", ResourceType = typeof(Resource))]
|
|||
|
public string NewPassword2 { get; set; }
|
|||
|
|
|||
|
public string UserName { get; set; }
|
|||
|
|
|||
|
}
|
|||
|
}
|