예제 #1
0
 public async Task <IEnumerable <PhoneBookAggregateRoot> > HandleAsync(GetPhoneBooksQuery query)
 {
     return(await _phoneBookRepository.GetPhoneBooksAsync());
 }
예제 #2
0
 public async Task <IEnumerable <PhoneBook> > Index()
 {
     return(await _phoneBookRepository.GetPhoneBooksAsync());
 }