$"there are {exerciseInGroupCount.Count} exercises with code templates that use the given plang."+
$" the first exercise is '{exerciseInGroupCount.First().DisplayName}'";
}
varexerciseFromUser=await_context.Exercises
.Include(p=>p.User)
.Where(p=>p.IsOnlyVisibleToOwner&&
p.CodeTemplates.Any(k=>k.PLangId==pLangId))
.ToListAsync()
;
if(exerciseFromUser.Count>0)
{
varfirstExercise=exerciseFromUser.First();
return
$"there are {exerciseFromUser.Count} exercises (that are only visible to the owner) with code templates that use the given plang."+
$" the first exercise is '{firstExercise.DisplayName}' from the user '{firstExercise.User.LastName}, {firstExercise.User.FirstName} (token: {firstExercise.User.Token})'";