コード例 #1
0
ファイル: AtulRest.svc.cs プロジェクト: jrgallego21/ATUL
        /// <summary>
        /// Adds a process manager.
        /// A process can have more than one manager.
        /// This method is intended to create a manager, but is generic since the typeId will change
        /// The typeid should be set in the webconfig and retreived in the logic layer
        /// </summary>
        /// <param name="AtulRemoteSystemID">The atul remote system ID.</param>
        /// <param name="AtulUserTypeID">The atul user type ID.</param>
        /// <param name="RemoteSystemLoginID">The remote system login ID.</param>
        /// <param name="DisplayName">The display name.</param>
        /// <returns></returns>
        public bool AddProcessManager(int AtulRemoteSystemID, int AtulUserTypeID, string RemoteSystemLoginID, string DisplayName)
        {
            bool        success = false;
            Atul_v1Data adb     = new Atul_v1Data();

            success = adb.AddProcessManager(AtulRemoteSystemID, AtulUserTypeID, RemoteSystemLoginID, DisplayName);
            return(success);
        }
コード例 #2
0
ファイル: AtulRest.svc.cs プロジェクト: jrgallego21/ATUL
        /// <summary>
        /// Adds a process manager.
        /// A process can have more than one manager.
        /// This method is intended to create a manager, but is generic since the typeId will change
        /// The typeid should be set in the webconfig and retreived in the logic layer
        /// </summary>
        /// <param name="AtulRemoteSystemID">The atul remote system ID.</param>
        /// <param name="AtulUserTypeID">The atul user type ID.</param>
        /// <param name="RemoteSystemLoginID">The remote system login ID.</param>
        /// <param name="DisplayName">The display name.</param>
        /// <returns></returns>
        public bool AddProcessManager(string AtulRemoteSystemID, string AtulUserTypeID, string RemoteSystemLoginID, string DisplayName)
        {
            bool        success = false;
            Atul_v1Data adb     = new Atul_v1Data();

            success = adb.AddProcessManager(Convert.ToInt32(AtulRemoteSystemID), Convert.ToInt32(AtulUserTypeID), RemoteSystemLoginID, DisplayName);
            return(success);
        }