/// <summary> /// Create team. /// </summary> /// <param name="team">The original team model.</param> /// <param name="users">The team members.</param> /// <returns>The task for creating contest teams, returning the team id.</returns> public Task <Team> CreateTeamAsync(Team team, IEnumerable <IUser>?users) => _teamContext.CreateTeamAsync(team, users);