public static async Task <T> GetFirstOrDefault <T>(this IDocumentQuery <T> queryAll)
 {
     return((await queryAll.GetAllResultsAsync()).FirstOrDefault());
 }