コード例 #1
0
        public async Task FillLookups()
        {
            Task <List <Territory> >     t = territoryActions.GetAll();
            Task <List <CustomerGroup> > c = customerGroupActions.GetAll();

            this.territories    = await t;
            this.customerGroups = await c;
            this.customerTypes  = customerTypeActions.GetAll();
        }
コード例 #2
0
        public async Task FillLookups()
        {
            Task <List <FiscalYear> > t = fiscalYearActions.GetAll();
            Task <List <Customer> >   c = customerActions.GetAll();
            Task <List <PriceList> >  p = priceListActions.GetAllFiltered(enum_buying_or_selling.Selling);

            this.FiscalYears = await t;
            this.customers   = await c;
            this.priceLists  = await p;
        }