コード例 #1
0
 /// <summary>
 /// Attach a user to the team if not attached.
 /// </summary>
 /// <param name="team">The contest team.</param>
 /// <param name="user">The identity user.</param>
 /// <param name="temporary">Whether this member is temporary account.</param>
 /// <returns>The task for attaching member.</returns>
 public Task AttachMemberAsync(Team team, IUser user, bool temporary)
 => _teamContext.AttachMemberAsync(team, user, temporary);