        {
            if (actionExecutedContext.Response != null && corsApplies(actionExecutedContext))
            {
                actionExecutedContext.Response.Headers.Add("Access-Control-Allow-Origin", "*");
            }