// Methods /// <summary> /// Checks to see if the current site is in a test through the site host name and active bool, shoudl default to false. /// </summary> private void CheckTest(Int32 deviceTypeId, ABTestingEntities dbContext) { //this.IsTest = false; this.IsTest = dbContext.sp_CheckIfInATest(this.Authority, deviceTypeId).Any(); }