private static void UpdateInspectorCache()
        {
            var CIP = new CacheItemPolicy()
            {
                AbsoluteExpiration = DateTime.Now.AddHours(1)
            };
            var inspectors = Inspector.Get();

            myCache.UpdateItem("inspectors", inspectors, CIP);
        }
        private static object InitItem(string key)
        {
            switch (key.Trim().ToLower())
            {
            case "units":
                return(Unit.GetInspectionUnits());

            case "inspectors":
                return(Inspector.Get());

            case "contractinspectors":
                return(Inspector.GetContractInspectors());

            case "useraccess":
                return(UserAccess.GetAllUserAccess());

            default:
                return(null);
            }
        }