I have an Sitecore (v8.1) Event and method that processing this event but Sitecore.Context
is not available.
I am try to use call SiteContextSwitcher but it does't help.
SiteContext siteContext = SiteContext.GetSite(site);
using (new SiteContextSwitcher(siteContext))
{
Sitecore.Context.SetActiveSite(site);
....
}
What is the best option to get context in event ?