public async Task <ActionResult <Customer> > GetCustomerAsync(int id)
        {
            var customer = await _repository.GetByIdAsync(id);

            if (customer == null)
            {
                return(NotFound());
            }

            return(Ok(_mapper.Map <CustomerReadDto>(customer)));
        }