Ejemplo n.º 1
0
 private IList <LinkDto> GetLinksForParticipation(Guid participationId)
 {
     return(new List <LinkDto>
     {
         LinkDto.SelfLink(Url.Link(nameof(GetParticipationSessionById), new { participationId })),
         LinkDto.AuthLink(Url.Link(nameof(AuthenticateUserOnParticipation), new { participationId })),
         new(Url.Link(nameof(RunExecutionParticipation), new { participationId }), "execution", HttpMethod.Post)
     });