public static bool IsAreaRequest(this WorkContext workContext, string area) { var siteArea = workContext.GetAreaName(); return(!string.IsNullOrEmpty(siteArea) && siteArea.Equals(area, System.StringComparison.OrdinalIgnoreCase)); }
public static bool IsAreaRequest(this WorkContext workContext, string area) { var siteArea = workContext.GetAreaName(); return(!string.IsNullOrEmpty(siteArea) && siteArea.Equals(area, System.StringComparison.OrdinalIgnoreCase)); }