Esempio n. 1
0
        public async Task <IEnumerable <Book> > GetAllBooks()
        {
            var result = await _bookRead.FindAllAsync();

            return(result);
        }
Esempio n. 2
0
        public async Task <IEnumerable <BuyingRecord> > GetAllBuyingRecords()
        {
            var result = await _buyingRecordRead.FindAllAsync();

            return(result);
        }
Esempio n. 3
0
        public async Task <IEnumerable <Person> > GetAllPeople()
        {
            var result = await _personRead.FindAllAsync();

            return(result);
        }
Esempio n. 4
0
        public async Task <IEnumerable <Publisher> > GetAllPublishers()
        {
            var result = await _publisherRead.FindAllAsync();

            return(result);
        }