Retail_manager/RMWPFInterfaceLibrary/Models/UserModel.cs

24 lines
555 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RMWPFInterfaceLibrary.Models
{
public class UserModel
{
public string Id { get; set; }
public string EmailAddress { get; set; }
public Dictionary<string, string> Roles { get; set; } = new Dictionary<string, string>();
public string RoleList
{
get
{
return string.Join(", ", Roles.Select(x => x.Value));
}
}
}
}