display the /HairCut/Brush profile

This commit is contained in:
Paul Schneider 2018-06-15 15:44:21 +02:00
commit 64d49c661d
24 changed files with 516 additions and 364 deletions

View file

@ -1,4 +1,4 @@
@model IEnumerable<PerformerProfile>
@model IEnumerable<Yavsc.ViewModels.FrontOffice.PerformerProfileViewModel>
@{
ViewData["Title"] = (ViewBag.Activity?.Name ?? SR["Any"]) ;
@ -11,9 +11,9 @@
@Html.DisplayFor(m=>profile)
<a asp-controller="HairCutCommand" asp-action="HairCut"
asp-route-activityCode="@ViewBag.Activity.Code"
asp-route-performerId="@profile.Performer.Id"
asp-route-performerId="@profile.PerformerId"
class="btn btn-success">
@SR["Proposer un rendez-vous à"] @profile.Performer.UserName
@SR["Proposer un rendez-vous à"] @profile.UserName
</a>
}