BusinessLogic.Logic.Players.PlayerRetriever.GetAllPlayers C# (CSharp) Метод

GetAllPlayers() публичный Метод

public GetAllPlayers ( int gamingGroupId, bool includeInactive = true ) : List
gamingGroupId int
includeInactive bool
Результат List
        public List<Player> GetAllPlayers(int gamingGroupId, bool includeInactive = true)
        {
            return GetAllPlayersInGamingGroupQueryable(gamingGroupId)
                .Where(x => x.Active || x.Active != includeInactive)
                .OrderByDescending(player => player.Active)
                .ThenBy(player => player.Name)
                .ToList();
        }