public ActionResult AddUserToSession( [FromRoute, Required] string?sessionId, [FromRoute] Guid userId) { _sessionManager.AddAdditionalUser(sessionId, userId); return(NoContent()); }
public void Post(AddUserToSession request) { _sessionManager.AddAdditionalUser(request.Id, new Guid(request.UserId)); }