public void UpdateSubscriptionId(string tenantId, string subscriptionId) { var tenant = _tenantRepository.GetById(tenantId); tenant.SubscriptionId = subscriptionId; _tenantRepository.EditAsHost(tenant); _tenantRepository.Commit(); }