/// <summary>
        /// Get the current timeRegVersion
        /// can be either 1 or 2
        /// </summary>
        /// <param name="ident"></param>
        /// <param name="vartOrdernr"></param>
        /// <returns>Version or -1 for invalid ident or -2 for database error
        /// (no more error description is available for this function</returns>
        public int getTimeRegVersion(string ident, string vartOrdernr)
        {
            CMisc cm = new CMisc();

            return(cm.getTimeRegVersion(ident, vartOrdernr));
        }
        /// <summary>
        /// Returns database and API versions
        /// </summary>
        /// <param name="ident"></param>
        /// <returns></returns>
        public VersionCL getVersion(string ident)
        {
            CMisc cm = new CMisc();

            return(cm.getVersion(ident));
        }