generated from egmont11/ASP.Net-Core-MVC-Template
InitEshop+ddd+ca
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using Eshop.Application.Auth;
|
||||
|
||||
namespace Eshop.Web.Models;
|
||||
|
||||
public class UserWithRolesViewModel
|
||||
{
|
||||
public UserDto User { get; set; } = null!;
|
||||
public IReadOnlyList<string> Roles { get; set; } = [];
|
||||
public IReadOnlyList<string> AllRoles { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user