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 Roles { get; set; } = new Dictionary(); public string RoleList { get { return string.Join(", ", Roles.Select(x => x.Value)); } } } }