Пример #1
0
 public ActionResult AddUserToSession(
     [FromRoute, Required] string?sessionId,
     [FromRoute] Guid userId)
 {
     _sessionManager.AddAdditionalUser(sessionId, userId);
     return(NoContent());
 }
Пример #2
0
 public void Post(AddUserToSession request)
 {
     _sessionManager.AddAdditionalUser(request.Id, new Guid(request.UserId));
 }