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; }
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()); } }