bulletboards/ImageBoardServerApp/Shared/Components/UserEntry.razor

16 lines
393 B
Text
Raw Normal View History

2023-02-12 18:06:33 +00:00
@using System.ComponentModel.DataAnnotations
<span>@user.Email | </span>
<span>@user.Posts.Count Posts | </span>
<span>@user.Comments.Count Comments | </span>
<span>@user.SubmittedReports.Count Reports submitted | </span>
<span>@user.RecivedReports.Count Reports recived | </span>
<span>@user.Role</span>
<br/>
@code {
[Parameter]
[Required]
public UserData user { get; set; }
}