public async Task <(bool isSuccessful, string errorMessage)> CreateCustomerProfileAsync(Guid customerId) { var isSuccessInsert = await _customerProfileRepository .InsertAsync(new CustomerProfileModel { CustomerId = customerId }); return(!isSuccessInsert ? (false, $"Bonus Customer profile with id '{customerId}' already exists.") : (true, string.Empty)); }