コード例 #1
0
        public async Task <IEnumerable <Order> > GetDiscountAsync()
        {
            BuyService          b = new BuyService(10);
            IEnumerable <Order> g = await GetAllAsync();

            return(b.GetDiscount(g, 0));
        }
コード例 #2
0
        public IEnumerable <Order> GetDiscount()
        {
            BuyService          b = new BuyService(10);
            IEnumerable <Order> g = GetAll();

            return(b.GetDiscount(g, 0));
        }