yavsc/src/Yavsc.Org/Views/FrontOffice/Profiles.cshtml
2026-06-04 12:13:37 +01:00

17 lines
514 B
Text

@model IEnumerable<PerformerProfileViewModel>
@{
ViewBag.Title = (ViewBag.Activity?.Name ?? "Any") ;
}
<h1>@ViewBag.Title</h1>
<em>@ViewBag.Activity.Description</em>
@foreach (var profile in Model) {
<hr/>
@Html.DisplayFor(m=>profile)
<a class="btn btn-success" asp-controller="Command" asp-action="Create" asp-route-proId="@profile.PerformerId"
asp-route-billingCode="Profiles" asp-route-activityCode="@ViewBag.Activity.Code" >
Proposer un rendez-vous à @profile.UserName
</a>
}