public async Task <IActionResult> GetAllCustomers()
        {
            var customers = await _repository.GetAllCustomersAsync();

            return(Ok(customers));
        }
 public Task <IEnumerable <CustomerDto> > GetAllCustomersAsync()
 {
     return(metadataRepository.GetAllCustomersAsync());
 }