Exemplo n.º 1
0
        public async Task <ActionResult <IEnumerable <PhoneBook> > > GetPhoneBook()
        {
            var phoneBook = await _phoneBookService.GetPhoneBoook();

            return(phoneBook.ToList());
        }