public async Task <CustomerProfileResult> GetByCustomerIdAsync(string customerId, bool includeNotVerified = false, bool includeNotActive = false)
        {
            var customer = await _customerProfileRepository.GetByCustomerIdAsync(customerId, includeNotVerified, includeNotActive);

            if (customer == null)
            {
                _log.Warning("Customer profile not found", context: customerId);

                return(new CustomerProfileResult {
                    ErrorCode = CustomerProfileErrorCodes.CustomerProfileDoesNotExist
                });
            }

            return(new CustomerProfileResult {
                Profile = customer
            });
        }