public async Task GetCountAsync_MultipleExist_CorrectCountReturned() { await PerformCountAsyncTest((() => _session.GetCountAsync(PagedQuery))); }
/// <summary> /// Gets the number of elements asynchronously. /// </summary> /// <param name="query">The query.</param> /// <returns></returns> public Task <int> GetCountAsync(Expression <Func <T, bool> > query = null) { return(Session.GetCountAsync(query)); }