예제 #1
0
        private string RegisterDevice(int employeeId, string deviceId)
        {
            string retValue = string.Empty;

            Business.HR.EmployeeMaster objEmployeeMaster = new Business.HR.EmployeeMaster();
            int response = objEmployeeMaster.LinkedDevices_Save(employeeId, deviceId);

            if (response > 0)
            {
                retValue = "Login succeeded.Your device is now registered with us.";
            }
            return(retValue);
        }