public async Task <CustomerProfileErrorCodes> UpdateEmailAsync(string customerId, string email) { var result = await _customerProfileRepository.UpdateEmailAsync(customerId, email, false); if (result == CustomerProfileErrorCodes.CustomerProfileDoesNotExist) { _log.Warning("Customer id was not found, so customer email is not updated", context: customerId); } return(result); }