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