Beispiel #1
0
 public async Task <List <Category> > GetAllSortedByIdAsync()
 {
     return(await _genericDAL.GetAllAsync(x => x.Id));
 }
Beispiel #2
0
 public async Task <List <Blog> > GetAllSortedByPostedTimeAsync()
 {
     return(await _genericDAL.GetAllAsync(x => x.PostedTime));
 }
Beispiel #3
0
 public async Task <List <TEntity> > GetAllAsync()
 {
     return(await _genericDal.GetAllAsync());
 }