public static TResult ByIdList <TResult, TIdType>(this IQueryDescriptor <TResult> queryDescriptor, params TIdType[] id)
 {
     return(queryDescriptor.Execute(Criterion.IdList(id)));
 }