public async Task <IActionResult> DeleteCustomer(int id)
        {
            _logger.LogInformation($"Customer delete called with id :{id}");
            var status = await _repository.DeleteCustomerAsync(id);

            return(status ? (IActionResult)Ok() : NotFound());
        }
 public Task <bool> DeleteCustomerAsync(int id)
 {
     return(metadataRepository.DeleteCustomerAsync(id));
 }