FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
api-bbs/Models/ManageViewModels/SetPasswordViewModel.cs at master · angular-bbs/api-bbs · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
angular-bbs
/
api-bbs
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
4
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
api-bbs
/
Models
/
ManageViewModels
/
SetPasswordViewModel.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (20 loc) · 762 Bytes
Breadcrumbs
api-bbs
/
Models
/
ManageViewModels
/
SetPasswordViewModel.cs
Copy path
File metadata and controls
22 lines (20 loc) · 762 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using
System
;
using
System
.
Collections
.
Generic
;
using
System
.
ComponentModel
.
DataAnnotations
;
using
System
.
Linq
;
using
System
.
Threading
.
Tasks
;
namespace
AngularBBS
.
Models
.
ManageViewModels
{
public
class
SetPasswordViewModel
{
[
Required
]
[
StringLength
(
100
,
ErrorMessage
=
"The {0} must be at least {2} and at max {1} characters long."
,
MinimumLength
=
6
)
]
[
DataType
(
DataType
.
Password
)
]
[
Display
(
Name
=
"New password"
)
]
public
string
NewPassword
{
get
;
set
;
}
[
DataType
(
DataType
.
Password
)
]
[
Display
(
Name
=
"Confirm new password"
)
]
[
Compare
(
"NewPassword"
,
ErrorMessage
=
"The new password and confirmation password do not match."
)
]
public
string
ConfirmPassword
{
get
;
set
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL