Exemplo n.º 1
0
        private async Task <bool> ChallengeModelExistsAsync(Guid challengeId)
        {
            var challenges = from challenge in Challenges.AsExpandable()
                             where challenge.Id == challengeId
                             select challenge;

            return(await challenges.AnyAsync());
        }