21 lines
507 B
C#
21 lines
507 B
C#
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace JobMarket.Models.RoleViewModels
|
|
{
|
|
public class RoleViewModel
|
|
{
|
|
public ApplicationUser ApplicationUser { get; set; }
|
|
|
|
public string ApplicationUserId { get; set; }
|
|
|
|
public string RoleId { get; set; }
|
|
|
|
public required IEnumerable<IdentityRole> Roles { get; set; }
|
|
|
|
/// <summary>
|
|
/// Determines if role is change-able.
|
|
/// </summary>
|
|
public bool Disabled { get; set; } = false;
|
|
}
|
|
}
|