public List <Employee> Get(PcsEmployeeSO search, CommonParam param) { List <Employee> result = new List <Employee>(); try { result = GetWorker.Get(search, param); } catch (Exception ex) { param.HasException = true; LogSystem.Error(ex); result.Clear(); } return(result); }
public List <CredentialData> Get(AasCredentialDataSO search, CommonParam param) { List <CredentialData> result = new List <CredentialData>(); try { result = GetWorker.Get(search, param); } catch (Exception ex) { param.HasException = true; LogSystem.Error(ex); result.Clear(); } return(result); }