reorg
This commit is contained in:
parent
d000f77098
commit
40e8e08690
3487 changed files with 39 additions and 21 deletions
11
src/Yavsc.Server/ViewModels/Administration/AdminViewModel.cs
Normal file
11
src/Yavsc.Server/ViewModels/Administration/AdminViewModel.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
namespace Yavsc.ViewModels.Administration {
|
||||
|
||||
public class AdminViewModel {
|
||||
public RoleInfo [] Roles { get; set; }
|
||||
public int AdminCount { get; set; }
|
||||
public bool YouAreAdmin { get; set; }
|
||||
|
||||
public int UserCount { get; set; }
|
||||
}
|
||||
}
|
||||
9
src/Yavsc.Server/ViewModels/Administration/RoleInfo.cs
Normal file
9
src/Yavsc.Server/ViewModels/Administration/RoleInfo.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.ViewModels.Administration
|
||||
{
|
||||
public class RoleInfo
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int UserCount { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
using Yavsc.Abstract.Identity;
|
||||
|
||||
namespace Yavsc.ViewModels.Administration
|
||||
{
|
||||
public class RoleUserCollection
|
||||
{
|
||||
public RoleUserCollection()
|
||||
{
|
||||
|
||||
}
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public UserInfo[] Users { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue