bulletboards/ImageBoardServerApp/Shared/Components/UserEntry.razor

16 lines
No EOL
393 B
Text

@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; }
}