public async Task <CustomerProfileErrorCodes> UpdateTierAsync(string customerId, string tierId) { var result = await _customerProfileRepository.UpdateTierAsync(customerId, tierId); if (result != CustomerProfileErrorCodes.None) { _log.Warning("Customer reward tier not updated", context: $"customerId: {customerId}; error: {result}"); } return(result); }