예제 #1
0
        public async Task Bonus_FindBonusesAsync_Return_ListBonusDTO()
        {
            CreateDefaultBonusServiceInstance();

            var bonusList = await _bonusService.FindBonusesAsync(new BonusFilter(), default(CancellationToken));

            Assert.NotNull(bonusList);
        }
예제 #2
0
 public async Task <ActionResult <ResultDto <IEnumerable <BonusDto> > > > FindBonusesAsync([FromQuery] BonusFilter bonusFilter)
 {
     return(Ok(await _BonusService.FindBonusesAsync(bonusFilter)));
 }