public static void SetCurrentTenantContext <TTenant>(this HttpContext context, TenantContext <TTenant> tenantContext) where TTenant : class
 {
     if (context.Items.ContainsKey(CURRENT_TENANT_CONTEXT_KEY))
     {
         context.Items[CURRENT_TENANT_CONTEXT_KEY] = tenantContext;
     }
     else
     {
         context.Items.Add(CURRENT_TENANT_CONTEXT_KEY, tenantContext);
     }
 }