/// <summary> /// List the teams with selected conditions. /// </summary> /// <param name="predicate">The conditions to match.</param> /// <returns>The task for listing entities.</returns> public Task <List <Team> > ListTeamsAsync(Expression <Func <Team, bool> >?predicate = null) => _teamContext.ListTeamsAsync(predicate);