public async Task <ICollection <GetFamilyPropBuyInfoOutput> > GetFamilyPropBuyInfo(GetFamilyPropBuyInfoInput input) { var response = new List <GetFamilyPropBuyInfoOutput>(); for (int i = 0; i < 20; i++) { var termStaff = await _babyPropBuyTermApplicationService.ValideBabyPropTermSatisfyHandle(new BabyPropBuyTermIsSatisfyInput() { FamilyId = 1, BabyId = 1 }); Console.WriteLine("循环次数:" + i); response.Add(new GetFamilyPropBuyInfoOutput() { Res = termStaff }); } return(response); }
public async Task <ICollection <GetFamilyPropBuyInfoOutput> > Test(GetFamilyPropBuyInfoInput input) { return(await GetFamilyPropBuyInfo(input)); }