예제 #1
0
    public async Task <ClanProfileDTO> GetClan(uint clanId, bool includeMembers = true, CancellationToken ct = default)
    {
        Clan clan = await _clanService.GetClanAsync(clanId, includeMembers, ct);

        return(includeMembers
                        ? clan.Adapt <ClanProfileFullDTO>()
                        : clan.Adapt <ClanProfileDTO>());
    }