public IEnumerable<string> ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable<string> viewLocations)
        {
            string theme = null;

            if (context.Values.TryGetValue(THEME_KEY, out theme))
            {
                IEnumerable<string> themeLocations = new[]
                {
                    $"/Themes/{theme}/{{1}}/{{0}}.cshtml",
                    $"/Themes/{theme}/Shared/{{0}}.cshtml",
                    $"/Themes/{theme}/EmailTemplates/{{0}}.cshtml"
                };

                viewLocations = themeLocations.Concat(viewLocations);
            }

            return viewLocations;
        }
        public IEnumerable<string> ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable<string> viewLocations)
        {
            string tenant = null;
            string theme = null;

            if (context.Values.TryGetValue(THEME_KEY, out theme))
            {
                if (context.Values.TryGetValue(TENANT_KEY, out tenant))
                {
                    IEnumerable<string> themeLocations = new[]
                    {
                        $"/sitefiles/{tenant}/themes/{theme}/{{1}}/{{0}}.cshtml",
                        $"/sitefiles/{tenant}/themes/{theme}/Shared/{{0}}.cshtml"
                    };

                    viewLocations = themeLocations.Concat(viewLocations);
                }
                
            }

            return viewLocations;
        }