public async Task <IEnumerable <ProductDto> > GetProducts()
 {
     return(await billsModule.ExecuteQueryAsync(new GetAllProducts()));
 }
Exemple #2
0
        public async Task <ICollection <BillDto> > AllBills()
        {
            var billsCollection = await billsModule.ExecuteQueryAsync(new GetAllBills());

            return(billsCollection);
        }
Exemple #3
0
        public async Task <IEnumerable <StoreDetailsDto> > Get()
        {
            var storeCollection = await billsModule.ExecuteQueryAsync(new GetAllStores());

            return(storeCollection);
        }