Files
yavsc/Yavsc.Server/ViewModels/Administration/RoleInfo.cs
Paul Schneider 5f26e97f0a preparing to feed abstract
test should run ok [modulo config]
2018-07-16 00:31:32 +02:00

21 lines
600 B
C#

using System.Linq;
namespace Yavsc.ViewModels.Administration
{
public class RoleInfo
{
public RoleInfo ()
{
}
public RoleInfo ( string roleName, string roleId, string[] users)
{
Name = roleName; // role.Name;
Id = roleId; // role.Id;
Users = users ; // role.Users.Select(u => u.UserId).ToArray();
}
public string Id { get; set; }
public string Name { get; set; }
public string[] Users { get; set; }
}
}