コード例 #1
0
        public async Task <IActionResult> GetAllCustomers()
        {
            var customers = await _repository.GetAllCustomersAsync();

            return(Ok(customers));
        }
コード例 #2
0
 public Task <IEnumerable <CustomerDto> > GetAllCustomersAsync()
 {
     return(metadataRepository.GetAllCustomersAsync());
 }