public async Task <List <ILanguage> > GetLanguagePage( int pageNumber, int pageSize, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); DbDataReader reader = dbLanguage.GetPage(pageNumber, pageSize); return(LoadLanguageListFromReader(reader)); }
public async Task <List <ILanguage> > GetLanguagePage(int pageNumber, int pageSize) { DbDataReader reader = dbLanguage.GetPage(pageNumber, pageSize); return(LoadLanguageListFromReader(reader)); }