public async Task Bonus_FindBonusesAsync_Return_ListBonusDTO() { CreateDefaultBonusServiceInstance(); var bonusList = await _bonusService.FindBonusesAsync(new BonusFilter(), default(CancellationToken)); Assert.NotNull(bonusList); }
public async Task <ActionResult <ResultDto <IEnumerable <BonusDto> > > > FindBonusesAsync([FromQuery] BonusFilter bonusFilter) { return(Ok(await _BonusService.FindBonusesAsync(bonusFilter))); }