public static TResult ById <TResult, TIdType>(this IQueryDescriptor <TResult> queryDescriptor, TIdType id) { return(queryDescriptor.Execute(Criterion.Id(id))); }