예제 #1
0
 public override async Task <IEnumerable <Song> > HandleAsync(GetSongsQuery query)
 {
     return(await Context.Songs.ToListAsync());
 }
예제 #2
0
 public async Task <IEnumerable <Song> > ExecuteAsync(GetSongsQuery command, IEnumerable <Song> previousResult)
 {
     return(await _songRepository.GetAll());
 }