enrolment
This commit is contained in:
parent
4c496e08d1
commit
152276f9ed
17 changed files with 174 additions and 64 deletions
16
src/Yavsc/ViewModels/Administration/EnrolerViewModel.cs
Normal file
16
src/Yavsc/ViewModels/Administration/EnrolerViewModel.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Yavsc.ViewModels
|
||||
{
|
||||
public partial class EnrolerViewModel {
|
||||
|
||||
[Display(Name="EnroledLabel", ResourceType=typeof(EnrolerViewModel))]
|
||||
[Required]
|
||||
public string EnroledUserId { get; set; }
|
||||
|
||||
|
||||
[Display(Name="RoleNameLabel", ResourceType=typeof(EnrolerViewModel))]
|
||||
[Required]
|
||||
public string RoleName { get; set; }
|
||||
}
|
||||
}
|
||||
18
src/Yavsc/ViewModels/Administration/FireViewModel.cs
Normal file
18
src/Yavsc/ViewModels/Administration/FireViewModel.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Yavsc.ViewModels
|
||||
{
|
||||
public partial class FireViewModel {
|
||||
|
||||
[Display(Name="EnroledLabel", ResourceType=typeof(EnrolerViewModel))]
|
||||
public string EnroledUserName { get; set; }
|
||||
|
||||
[Required]
|
||||
public string EnroledUserId { get; set; }
|
||||
|
||||
|
||||
[Display(Name="RoleNameLabel", ResourceType=typeof(EnrolerViewModel))]
|
||||
[Required]
|
||||
public string RoleName { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Yavsc.ViewModels
|
||||
{
|
||||
public partial class NewAdminViewModel {
|
||||
|
||||
[Display(Name="NewAdminLabel", ResourceType=typeof(NewAdminViewModel))]
|
||||
[Required]
|
||||
public string NewAdminId { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue