Example #1
0
 public Log(EmployerCode employerCode, string locationCode, string userId, Guid transactionId, string logMessage)
 {
     this.employerCode = employerCode;
     this.locationCode = locationCode;
     this.userId = UserId;
     this.transactionId = transactionId;
     this.logMessage = logMessage;
 }
Example #2
0
        public void CallCenterEnqrySearch(string searchOption)
        {
            try
            {
                switch (searchOption)
                {
                case "EmpNum":
                    EmployeeNumber.SendKeys(DataBaseOperation.GetSearchResults(searchOption));
                    break;

                case "EmpCode":
                    EmployerCode.SendKeys(DataBaseOperation.GetSearchResults(searchOption));
                    break;
                }
            }
            catch (Exception e)
            {
                throw new Exception(e.ToString());
            }
        }