public static Nullable <T> GetEnumParamNullable <T>(this ONLCompetition comp, string paramName)
            where T : struct
        {
            int?val = comp.GetIntParamNullable(paramName);

            if (val == null)
            {
                return(null);
            }
            try { return(new T?((T)Enum.ToObject(typeof(T), val.Value))); }
            catch { return(null); }
        }